Fix include_tasks for "installation_from_sources.yml"

This commit is contained in:
Jose M 2019-11-20 19:16:44 +01:00
parent e3ecb74ca8
commit c64d331e7f
3 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
--- ---
- include_tasks: "../roles/wazuh/ansible-wazuh-agent/tasks/installation_from_sources.yml" - include_tasks: "../tasks/installation_from_sources.yml"
when: when:
- wazuh_sources_installation.enabled - wazuh_sources_installation.enabled

View File

@ -1,5 +1,5 @@
--- ---
- include_tasks: "installation_from_sources" - include_tasks: "installation_from_sources.yml"
when: when:
- wazuh_sources_installation.enabled - wazuh_sources_installation.enabled
@ -58,14 +58,14 @@
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 - not wazuh_sources_installation.enabled
- name: Debian/Ubuntu | Installing NodeJS repository key - name: Debian/Ubuntu | Installing NodeJS repository key
apt_key: apt_key:
url: https://deb.nodesource.com/gpgkey/nodesource.gpg.key url: https://deb.nodesource.com/gpgkey/nodesource.gpg.key
when: when:
- not (ansible_distribution == "Ubuntu" and ansible_distribution_major_version | int == 14) - 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 - name: Debian/Ubuntu | Add NodeSource repositories for Node.js
apt_repository: apt_repository:
@ -74,7 +74,7 @@
update_cache: true update_cache: true
changed_when: false changed_when: false
when: when:
- not wazuh_sources_installation.enabled - not wazuh_sources_installation.enabled
- name: Debian/Ubuntu | Set Distribution CIS filename for Debian/Ubuntu - name: Debian/Ubuntu | Set Distribution CIS filename for Debian/Ubuntu
set_fact: set_fact:

View File

@ -1,5 +1,5 @@
--- ---
- include_tasks: "../roles/wazuh/ansible-wazuh-manager/tasks/installation_from_sources.yml" - include_tasks: "../tasks/installation_from_sources.yml"
when: when:
- wazuh_sources_installation.enabled - wazuh_sources_installation.enabled