From 365b76b3db96c95a6915661533fe1ab6071002bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Santiago=20Padilla=20=C3=81lvarez?= Date: Thu, 20 Jun 2024 12:03:14 +0200 Subject: [PATCH] fix: remove hardcoded branch --- .../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 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/provisioning/roles/wazuh/ansible-wazuh-manager/defaults/main.yml b/provisioning/roles/wazuh/ansible-wazuh-manager/defaults/main.yml index 78bf48dfd7..eb8aef556b 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: 4.8.0 +wazuh_manager_version: "{{ wazuh_version }}" 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 7a91513886..5fea276baa 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: 4.8.0 +wazuh_version: "{{ wazuh_version }}" diff --git a/provisioning/roles/wazuh/wazuh-dashboard/defaults/main.yml b/provisioning/roles/wazuh/wazuh-dashboard/defaults/main.yml index d26912bfa2..016741807c 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: 4.8.0 +wazuh_version: "{{ wazuh_version }}" indexer_cluster_nodes: - 127.0.0.1 # The Wazuh dashboard package repository -dashboard_version: "4.8.0" +dashboard_version: "{{ wazuh_version }}" # 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 ad178fecc1..2131a9c154 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: 4.8.0 +dashboard_version: "{{ wazuh_version }}" diff --git a/provisioning/roles/wazuh/wazuh-indexer/defaults/main.yml b/provisioning/roles/wazuh/wazuh-indexer/defaults/main.yml index d073abbaac..0f2d8d75d6 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: 4.8.0 +indexer_version: "{{ wazuh_version }}" single_node: false indexer_node_name: node-1