API call changed to localhost

This commit is contained in:
Gonzalo Acuña 2022-05-19 13:22:52 -03:00
parent 725b764a80
commit 039ede12b8
No known key found for this signature in database
GPG Key ID: 646BA79A313A2270

View File

@ -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