Update tasks and conditioinals for Agent installations in Debian families
This commit is contained in:
parent
2c9b18de72
commit
0329441817
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- include_tasks: "installation_from_sources"
|
- include_tasks: "../roles/wazuh/ansible-wazuh-agent/tasks/installation_from_sources.yml"
|
||||||
when:
|
when:
|
||||||
- wazuh_sources_installation.enabled
|
- wazuh_sources_installation.enabled
|
||||||
|
|
||||||
@ -25,6 +25,7 @@
|
|||||||
when:
|
when:
|
||||||
- ansible_distribution == "Ubuntu"
|
- ansible_distribution == "Ubuntu"
|
||||||
- ansible_distribution_major_version | int == 14
|
- ansible_distribution_major_version | int == 14
|
||||||
|
- not wazuh_sources_installation.enabled
|
||||||
|
|
||||||
- name: Debian/Ubuntu | Installing Wazuh repository key
|
- name: Debian/Ubuntu | Installing Wazuh repository key
|
||||||
apt_key:
|
apt_key:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user