Ansible playbook

    The Ansible playbook only supports deployment of OpenSearch and OpenSearch Dashboards to CentOS7 hosts.

    Make sure you have and Java 8 installed.

    1. Clone the OpenSearch ansible-playbook repository:

      copy

    2. Configure the node properties in the file:

      where:

      • ip is the IP address that you want OpenSearch and OpenSearch DashBoards to bind to. You can specify the private IP of the target node, or localhost, or 0.0.0.0.
    3. You can modify the default configuration values in the inventories/opensearch/group_vars/all/all.yml file. For example, you can increase the Java memory heap size:

      copy

    Make sure you have direct SSH access into the root user of the target node.

    1. After the deployment process is complete, you can access OpenSearch and OpenSearch Dashboards with the username and the password that you set for the admin_password variable.

      If you bind ip to a private IP or localhost, make sure you’re logged into the server that deployed the playbook to access OpenSearch and OpenSearch Dashboards:

      copy

      If you bind ip to 0.0.0.0, then replace with the public IP or the private IP (if it’s in the same network).