CI tests updated
This commit is contained in:
parent
3144ac1817
commit
3924b08449
@ -15,6 +15,12 @@
|
||||
- name: ConvergeInstall
|
||||
hosts: all
|
||||
roles:
|
||||
# 1. Check packages
|
||||
- role: ../../roles/wazuh/check-packages
|
||||
become: no
|
||||
delegate_to: localhost
|
||||
when: "inventory_hostname in {{ groups['indexer'] | first }}"
|
||||
# 2. Managers
|
||||
- role: ../../roles/wazuh/ansible-wazuh-manager
|
||||
vars:
|
||||
- { role: ../../roles/wazuh/ansible-filebeat-oss, filebeat_output_indexer_hosts: "indexer_centos7:9200" }
|
||||
|
||||
@ -83,18 +83,19 @@
|
||||
- role: ../../roles/wazuh/check-packages
|
||||
become: no
|
||||
delegate_to: localhost
|
||||
# 1. Wazuh indexer
|
||||
when: "inventory_hostname in {{ groups['indexer'] | first }}"
|
||||
# 2. Wazuh indexer
|
||||
- role: ../../roles/wazuh/wazuh-indexer
|
||||
when: inventory_hostname in groups['indexer']
|
||||
# 2. Managers
|
||||
# 3. Managers
|
||||
- role: ../../roles/wazuh/ansible-wazuh-manager
|
||||
when: inventory_hostname in groups['managers']
|
||||
- role: ../../roles/wazuh/ansible-filebeat-oss
|
||||
when: inventory_hostname in groups['managers']
|
||||
# 3. Wazuh dashboard
|
||||
# 4. Wazuh dashboard
|
||||
- role: ../../roles/wazuh/wazuh-dashboard
|
||||
when: inventory_hostname in groups['dashboard']
|
||||
# 4. Agents:
|
||||
# 5. Agents:
|
||||
- role: ../../roles/wazuh/ansible-wazuh-agent
|
||||
vars:
|
||||
wazuh_managers: '{{ wazuh_managers_list }}'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user