From 9ff2f5b5e55174b32f49b42ae75f856d7c9a39ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Santiago=20Padilla=20=C3=81lvarez?= Date: Tue, 25 Jun 2024 11:52:34 +0200 Subject: [PATCH] fix: change variable name --- .../roles/wazuh/ansible-wazuh-agent/defaults/main.yml | 2 +- .../roles/wazuh/ansible-wazuh-manager/defaults/main.yml | 2 +- provisioning/roles/wazuh/check-packages/defaults/main.yml | 2 +- provisioning/roles/wazuh/wazuh-dashboard/defaults/main.yml | 4 ++-- provisioning/roles/wazuh/wazuh-dashboard/vars/debian.yml | 2 +- provisioning/roles/wazuh/wazuh-indexer/defaults/main.yml | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/provisioning/roles/wazuh/ansible-wazuh-agent/defaults/main.yml b/provisioning/roles/wazuh/ansible-wazuh-agent/defaults/main.yml index 9866676097..aa07edda8b 100644 --- a/provisioning/roles/wazuh/ansible-wazuh-agent/defaults/main.yml +++ b/provisioning/roles/wazuh/ansible-wazuh-agent/defaults/main.yml @@ -1,6 +1,6 @@ --- -wazuh_agent_version: "{{ WAZUH_VERSION }}" +wazuh_agent_version: "{{ WAZUH_VERSION_REFERENCE }}" # Custom packages installation diff --git a/provisioning/roles/wazuh/ansible-wazuh-manager/defaults/main.yml b/provisioning/roles/wazuh/ansible-wazuh-manager/defaults/main.yml index 3c07824b3b..af21570ba6 100644 --- a/provisioning/roles/wazuh/ansible-wazuh-manager/defaults/main.yml +++ b/provisioning/roles/wazuh/ansible-wazuh-manager/defaults/main.yml @@ -1,6 +1,6 @@ --- -wazuh_manager_version: "{{ WAZUH_VERSION }}" +wazuh_manager_version: "{{ WAZUH_VERSION_REFERENCE }}" wazuh_manager_fqdn: "wazuh-server" wazuh_manager_package_state: present diff --git a/provisioning/roles/wazuh/check-packages/defaults/main.yml b/provisioning/roles/wazuh/check-packages/defaults/main.yml index 182ea3d74a..1e6d123c07 100644 --- a/provisioning/roles/wazuh/check-packages/defaults/main.yml +++ b/provisioning/roles/wazuh/check-packages/defaults/main.yml @@ -1,2 +1,2 @@ --- -wazuh_version: "{{ WAZUH_VERSION }}" +wazuh_version: "{{ WAZUH_VERSION_REFERENCE }}" diff --git a/provisioning/roles/wazuh/wazuh-dashboard/defaults/main.yml b/provisioning/roles/wazuh/wazuh-dashboard/defaults/main.yml index dd255698c1..e78d90e0df 100644 --- a/provisioning/roles/wazuh/wazuh-dashboard/defaults/main.yml +++ b/provisioning/roles/wazuh/wazuh-dashboard/defaults/main.yml @@ -13,12 +13,12 @@ dashboard_node_name: node-1 dashboard_server_host: "0.0.0.0" dashboard_server_port: "443" dashboard_server_name: "dashboard" -wazuh_version: "{{ WAZUH_VERSION }}" +wazuh_version: "{{ WAZUH_VERSION_REFERENCE }}" indexer_cluster_nodes: - 127.0.0.1 # The Wazuh dashboard package repository -dashboard_version: "{{ WAZUH_VERSION }}" +dashboard_version: "{{ WAZUH_VERSION_REFERENCE }}" # API credentials wazuh_api_credentials: diff --git a/provisioning/roles/wazuh/wazuh-dashboard/vars/debian.yml b/provisioning/roles/wazuh/wazuh-dashboard/vars/debian.yml index d5cabb87e0..a65a45bed2 100644 --- a/provisioning/roles/wazuh/wazuh-dashboard/vars/debian.yml +++ b/provisioning/roles/wazuh/wazuh-dashboard/vars/debian.yml @@ -1,2 +1,2 @@ --- -dashboard_version: "{{ WAZUH_VERSION }}" +dashboard_version: "{{ WAZUH_VERSION_REFERENCE }}" diff --git a/provisioning/roles/wazuh/wazuh-indexer/defaults/main.yml b/provisioning/roles/wazuh/wazuh-indexer/defaults/main.yml index 11204e1e0e..76bfaf3281 100644 --- a/provisioning/roles/wazuh/wazuh-indexer/defaults/main.yml +++ b/provisioning/roles/wazuh/wazuh-indexer/defaults/main.yml @@ -5,7 +5,7 @@ wazuh_custom_packages_installation_indexer_deb_url: "" wazuh_custom_packages_installation_indexer_rpm_url: "" # Cluster Settings -indexer_version: "{{ WAZUH_VERSION }}" +indexer_version: "{{ WAZUH_VERSION_REFERENCE }}" single_node: false indexer_node_name: node-1