Move "installation_from_sources" include to Linux.yml
This commit is contained in:
parent
9d62860ea1
commit
e3ecb74ca8
@ -1,9 +1,4 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- include_tasks: "../roles/wazuh/ansible-wazuh-agent/tasks/installation_from_sources.yml"
|
|
||||||
when:
|
|
||||||
- wazuh_sources_installation.enabled
|
|
||||||
|
|
||||||
- name: Debian/Ubuntu | Install apt-transport-https and ca-certificates
|
- name: Debian/Ubuntu | Install apt-transport-https and ca-certificates
|
||||||
apt:
|
apt:
|
||||||
name:
|
name:
|
||||||
|
|||||||
@ -1,4 +1,8 @@
|
|||||||
---
|
---
|
||||||
|
- include_tasks: "../roles/wazuh/ansible-wazuh-agent/tasks/installation_from_sources.yml"
|
||||||
|
when:
|
||||||
|
- wazuh_sources_installation.enabled
|
||||||
|
|
||||||
- include_tasks: "RedHat.yml"
|
- include_tasks: "RedHat.yml"
|
||||||
when: ansible_os_family == "RedHat"
|
when: ansible_os_family == "RedHat"
|
||||||
|
|
||||||
|
|||||||
@ -1,9 +1,4 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- include_tasks: "../roles/wazuh/ansible-wazuh-agent/tasks/installation_from_sources.yml"
|
|
||||||
when:
|
|
||||||
- wazuh_sources_installation.enabled
|
|
||||||
|
|
||||||
- name: RedHat/CentOS 5 | Install Wazuh repo
|
- name: RedHat/CentOS 5 | Install Wazuh repo
|
||||||
yum_repository:
|
yum_repository:
|
||||||
name: wazuh_repo
|
name: wazuh_repo
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user