Fix indexer_cluster_nodes parameter misconfiguration and update changelog

This commit is contained in:
Jesus Garcia 2026-02-02 17:38:31 -05:00
parent 506f9117cc
commit 815541c8e4
No known key found for this signature in database
GPG Key ID: 8461CA78326C96C9
3 changed files with 8 additions and 7 deletions

View File

@ -9,6 +9,7 @@ All notable changes to this project will be documented in this file.
### Changed
- Address Misconfiguration of indexer_cluster_nodes Parameter ([#1929](https://github.com/wazuh/wazuh-ansible/pull/1929))
- Remove meta yamls that prevent indexer and agent role installation from PR #1806 ([#1921](https://github.com/wazuh/wazuh-ansible/pull/1921))
- Ensure boolean condition evaluations - from community PR #1897 ([#1916](https://github.com/wazuh/wazuh-ansible/pull/1916))

View File

@ -5,9 +5,9 @@
- role: ../roles/wazuh/wazuh-indexer
indexer_network_host: "{{ private_ip }}"
indexer_cluster_nodes:
- "{{ hostvars.wi1.private_ip }}"
- "{{ hostvars.wi2.private_ip }}"
- "{{ hostvars.wi3.private_ip }}"
- "{{ hostvars.wi1.indexer_node_name }}"
- "{{ hostvars.wi2.indexer_node_name }}"
- "{{ hostvars.wi3.indexer_node_name }}"
indexer_discovery_nodes:
- "{{ hostvars.wi1.private_ip }}"
- "{{ hostvars.wi2.private_ip }}"
@ -56,9 +56,9 @@
become_user: root
vars:
indexer_cluster_nodes:
- "{{ hostvars.wi1.private_ip }}"
- "{{ hostvars.wi2.private_ip }}"
- "{{ hostvars.wi3.private_ip }}"
- "{{ hostvars.wi1.indexer_node_name }}"
- "{{ hostvars.wi2.indexer_node_name }}"
- "{{ hostvars.wi3.indexer_node_name }}"
indexer_discovery_nodes:
- "{{ hostvars.wi1.private_ip }}"
- "{{ hostvars.wi2.private_ip }}"

View File

@ -13,7 +13,7 @@ indexer_node_ingest: true
indexer_start_timeout: 90
indexer_cluster_nodes:
- 127.0.0.1
- "{{ indexer_node_name }}"
indexer_discovery_nodes:
- 127.0.0.1