Merge pull request #1929 from wazuh/bug/1917-fix-indexer_cluster_nodes-indexer-parameter

Address Misconfiguration of indexer_cluster_nodes Parameter
This commit is contained in:
Gonzalo Acuña 2026-02-03 14:40:49 -03:00 committed by GitHub
commit 185b6e17b3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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 ### 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)) - 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)) - 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 - role: ../roles/wazuh/wazuh-indexer
indexer_network_host: "{{ private_ip }}" indexer_network_host: "{{ private_ip }}"
indexer_cluster_nodes: indexer_cluster_nodes:
- "{{ hostvars.wi1.private_ip }}" - "{{ hostvars.wi1.indexer_node_name }}"
- "{{ hostvars.wi2.private_ip }}" - "{{ hostvars.wi2.indexer_node_name }}"
- "{{ hostvars.wi3.private_ip }}" - "{{ hostvars.wi3.indexer_node_name }}"
indexer_discovery_nodes: indexer_discovery_nodes:
- "{{ hostvars.wi1.private_ip }}" - "{{ hostvars.wi1.private_ip }}"
- "{{ hostvars.wi2.private_ip }}" - "{{ hostvars.wi2.private_ip }}"
@ -56,9 +56,9 @@
become_user: root become_user: root
vars: vars:
indexer_cluster_nodes: indexer_cluster_nodes:
- "{{ hostvars.wi1.private_ip }}" - "{{ hostvars.wi1.indexer_node_name }}"
- "{{ hostvars.wi2.private_ip }}" - "{{ hostvars.wi2.indexer_node_name }}"
- "{{ hostvars.wi3.private_ip }}" - "{{ hostvars.wi3.indexer_node_name }}"
indexer_discovery_nodes: indexer_discovery_nodes:
- "{{ hostvars.wi1.private_ip }}" - "{{ hostvars.wi1.private_ip }}"
- "{{ hostvars.wi2.private_ip }}" - "{{ hostvars.wi2.private_ip }}"

View File

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