Fix includes for wazuh-manager role
This commit is contained in:
parent
ad8ae0ed65
commit
4ba0a85bf1
@ -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
|
- name: Debian/Ubuntu | Install apt-transport-https and ca-certificates
|
||||||
apt:
|
apt:
|
||||||
name:
|
name:
|
||||||
@ -110,6 +106,10 @@
|
|||||||
when:
|
when:
|
||||||
- not wazuh_manager_sources_installation.enabled
|
- 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
|
- name: Debian/Ubuntu | Install wazuh-api
|
||||||
apt:
|
apt:
|
||||||
name:
|
name:
|
||||||
|
|||||||
@ -137,10 +137,6 @@
|
|||||||
tags:
|
tags:
|
||||||
- init
|
- init
|
||||||
|
|
||||||
- include_tasks: "../tasks/installation_from_sources.yml"
|
|
||||||
when:
|
|
||||||
- wazuh_api_sources_installation.enabled
|
|
||||||
|
|
||||||
- name: CentOS/RedHat 6 | Enabling python2.7 and sqlite3
|
- name: CentOS/RedHat 6 | Enabling python2.7 and sqlite3
|
||||||
replace:
|
replace:
|
||||||
path: /etc/init.d/wazuh-manager
|
path: /etc/init.d/wazuh-manager
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user