Fix includes for wazuh-manager role

This commit is contained in:
Jose M 2019-11-26 18:49:10 +01:00
parent ad8ae0ed65
commit 4ba0a85bf1
2 changed files with 4 additions and 8 deletions

View File

@ -1,8 +1,4 @@
---
- include_tasks: "installation_from_sources.yml"
when:
- wazuh_manager_sources_installation.enabled or wazuh_api_sources_installation.enabled
- name: Debian/Ubuntu | Install apt-transport-https and ca-certificates
apt:
name:
@ -110,6 +106,10 @@
when:
- not wazuh_manager_sources_installation.enabled
- include_tasks: "installation_from_sources.yml"
when:
- wazuh_manager_sources_installation.enabled or wazuh_api_sources_installation.enabled
- name: Debian/Ubuntu | Install wazuh-api
apt:
name:

View File

@ -137,10 +137,6 @@
tags:
- init
- include_tasks: "../tasks/installation_from_sources.yml"
when:
- wazuh_api_sources_installation.enabled
- name: CentOS/RedHat 6 | Enabling python2.7 and sqlite3
replace:
path: /etc/init.d/wazuh-manager