From 039ede12b863a51b1f864c76e117bd7667d868c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Acu=C3=B1a?= Date: Thu, 19 May 2022 13:22:52 -0300 Subject: [PATCH] API call changed to localhost --- roles/wazuh/wazuh-indexer/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/wazuh/wazuh-indexer/tasks/main.yml b/roles/wazuh/wazuh-indexer/tasks/main.yml index 0e18d05f..45094949 100644 --- a/roles/wazuh/wazuh-indexer/tasks/main.yml +++ b/roles/wazuh/wazuh-indexer/tasks/main.yml @@ -111,7 +111,7 @@ - name: Wait for Wazuh indexer API (Private IP) uri: - url: "https://{{ hostvars[inventory_hostname]['private_ip'] if not single_node else indexer_network_host }}:{{ indexer_http_port }}/_cat/health/" + url: "https://127.0.0.1:{{ indexer_http_port }}/_cat/health/" user: "admin" # Default Indexer user is always "admin" password: "{{ indexer_admin_password }}" validate_certs: no