From 2b2c05c695f406bb64fab32be11844ac291e7450 Mon Sep 17 00:00:00 2001 From: Alberto R Date: Fri, 4 Mar 2022 16:10:58 +0100 Subject: [PATCH] Fix indexer name format --- roles/wazuh/wazuh-indexer/tasks/security_actions.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/wazuh/wazuh-indexer/tasks/security_actions.yml b/roles/wazuh/wazuh-indexer/tasks/security_actions.yml index 29d9fc09..3055ec0a 100644 --- a/roles/wazuh/wazuh-indexer/tasks/security_actions.yml +++ b/roles/wazuh/wazuh-indexer/tasks/security_actions.yml @@ -20,7 +20,7 @@ - hostvars[inventory_hostname]['private_ip'] is not defined -- name: Copy the node & admin certificates to Wazuh-Indexer cluster +- name: Copy the node & admin certificates to Wazuh indexer cluster copy: src: "{{ local_certs_path }}/certs/{{ item }}" dest: "{{ indexer_conf_path }}/certs/" @@ -34,7 +34,7 @@ - admin-key.pem - admin.pem -- name: Restart Wazuh-Indexer with security configuration +- name: Restart Wazuh indexer with security configuration systemd: name: wazuh-indexer state: restarted @@ -77,7 +77,7 @@ indexer_password_hash: "{{ indexer_kibanaserver_password_hashed.stdout_lines | last }}" run_once: true -- name: Initialize the Opensearch security index in Wazuh-Indexer +- name: Initialize the Opensearch security index in Wazuh indexer command: > sudo -u wazuh-indexer OPENSEARCH_PATH_CONF={{ indexer_conf_path }} JAVA_HOME=/usr/share/wazuh-indexer/jdk