From 8f5144587887a7fc1872e15d36ad8ec174adbdc3 Mon Sep 17 00:00:00 2001 From: neonmei Date: Wed, 25 Nov 2020 10:33:41 -0300 Subject: [PATCH] release: make molecule tests component versions explicit and point them to release v4.0.2 --- .../group_vars/all.yml | 16 ++++++++++--- .../distributed-wazuh-elk/group_vars/all.yml | 10 ++++++++ .../distributed-wazuh-odfe/group_vars/all.yml | 24 +++++++++++++------ 3 files changed, 40 insertions(+), 10 deletions(-) diff --git a/molecule/distributed-wazuh-elk-xpack/group_vars/all.yml b/molecule/distributed-wazuh-elk-xpack/group_vars/all.yml index 715e921c..45028909 100644 --- a/molecule/distributed-wazuh-elk-xpack/group_vars/all.yml +++ b/molecule/distributed-wazuh-elk-xpack/group_vars/all.yml @@ -12,6 +12,19 @@ manager_addresses: "{{ managers_hostvars | map(attribute='private_ip') | list }} elastic_addresses: "{{ elastic_hostvars | map(attribute='private_ip') | list }}" kibana_addresses: "{{ kibana_hostvars | map(attribute='private_ip') | list }}" +######################################################## +# Versions +elastic_stack_version: 7.9.3 +filebeat_version: 7.9.3 + +# Debian packages need the ${VERSION}-1 +wazuh_manager_version: 4.0.2-1 +wazuh_agent_version: 4.0.2-1 + +# Kibana role appends it automatically. +wazuh_version: 4.0.2 + + ######################################################## # General ELK stack variables @@ -22,6 +35,3 @@ kibana_xpack_security: true elasticsearch_xpack_security: true elasticsearch_xpack_security_user: elastic elasticsearch_xpack_security_password: elastic_pass - -elastic_stack_version: 7.9.3 -filebeat_version: 7.9.3 \ No newline at end of file diff --git a/molecule/distributed-wazuh-elk/group_vars/all.yml b/molecule/distributed-wazuh-elk/group_vars/all.yml index c5d04fe9..48ae39eb 100644 --- a/molecule/distributed-wazuh-elk/group_vars/all.yml +++ b/molecule/distributed-wazuh-elk/group_vars/all.yml @@ -10,4 +10,14 @@ elastic_hostvars: "{{ groups['elastic'] | map('extract', hostvars) | list }}" manager_addresses: "{{ managers_hostvars | map(attribute='private_ip') | list }}" elastic_addresses: "{{ elastic_hostvars | map(attribute='private_ip') | list }}" +######################################################## +# Versions elastic_stack_version: 7.9.3 +filebeat_version: 7.9.3 + +# Debian packages need the ${VERSION}-1 +wazuh_manager_version: 4.0.2-1 +wazuh_agent_version: 4.0.2-1 + +# Kibana role appends it automatically. +wazuh_version: 4.0.2 \ No newline at end of file diff --git a/molecule/distributed-wazuh-odfe/group_vars/all.yml b/molecule/distributed-wazuh-odfe/group_vars/all.yml index 998bbbb5..393ec495 100644 --- a/molecule/distributed-wazuh-odfe/group_vars/all.yml +++ b/molecule/distributed-wazuh-odfe/group_vars/all.yml @@ -15,12 +15,6 @@ kibana_addresses: "{{ kibana_hostvars | map(attribute='private_ip') | list }}" ######################################################## # General ELK stack variables -# Cluster Settings -#es_version: "7.9.1" -#es_major_version: "7.x" -#opendistro_version: 1.10.1 -filebeat_version: 7.9.1 - # OpenDistro kibana_opendistro_security: true @@ -34,4 +28,20 @@ opendistro_admin_password: changeme # All nodes are called by IP name elasticsearch_node_name: '{{ ansible_hostname }}' kibana_node_name: '{{ ansible_hostname }}' -filebeat_node_name: '{{ ansible_hostname }}' \ No newline at end of file +filebeat_node_name: '{{ ansible_hostname }}' + +######################################################## +# Versions +# See: https://opendistro.github.io/for-elasticsearch-docs/version-history/ + +elastic_stack_version: 7.9.1 +opendistro_version: 1.11.0 +filebeat_version: 7.9.1 +kibana_opendistro_version: -1.11.0-1 + +# Debian packages need the ${VERSION}-1 +wazuh_manager_version: 4.0.2-1 +wazuh_agent_version: 4.0.2-1 + +# Kibana role appends it automatically. +wazuh_version: 4.0.2 \ No newline at end of file