Fix include_tasks for "installation_from_sources.yml"
This commit is contained in:
parent
e3ecb74ca8
commit
c64d331e7f
@ -1,5 +1,5 @@
|
||||
---
|
||||
- include_tasks: "../roles/wazuh/ansible-wazuh-agent/tasks/installation_from_sources.yml"
|
||||
- include_tasks: "../tasks/installation_from_sources.yml"
|
||||
when:
|
||||
- wazuh_sources_installation.enabled
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
---
|
||||
- include_tasks: "installation_from_sources"
|
||||
- include_tasks: "installation_from_sources.yml"
|
||||
when:
|
||||
- wazuh_sources_installation.enabled
|
||||
|
||||
@ -58,14 +58,14 @@
|
||||
when:
|
||||
- ansible_distribution == "Ubuntu"
|
||||
- ansible_distribution_major_version | int == 14
|
||||
- not wazuh_sources_installation.enabled
|
||||
- not wazuh_sources_installation.enabled
|
||||
|
||||
- name: Debian/Ubuntu | Installing NodeJS repository key
|
||||
apt_key:
|
||||
url: https://deb.nodesource.com/gpgkey/nodesource.gpg.key
|
||||
when:
|
||||
- not (ansible_distribution == "Ubuntu" and ansible_distribution_major_version | int == 14)
|
||||
- not wazuh_sources_installation.enabled
|
||||
- not wazuh_sources_installation.enabled
|
||||
|
||||
- name: Debian/Ubuntu | Add NodeSource repositories for Node.js
|
||||
apt_repository:
|
||||
@ -74,7 +74,7 @@
|
||||
update_cache: true
|
||||
changed_when: false
|
||||
when:
|
||||
- not wazuh_sources_installation.enabled
|
||||
- not wazuh_sources_installation.enabled
|
||||
|
||||
- name: Debian/Ubuntu | Set Distribution CIS filename for Debian/Ubuntu
|
||||
set_fact:
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
---
|
||||
- include_tasks: "../roles/wazuh/ansible-wazuh-manager/tasks/installation_from_sources.yml"
|
||||
- include_tasks: "../tasks/installation_from_sources.yml"
|
||||
when:
|
||||
- wazuh_sources_installation.enabled
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user