Fix conditional for RHEL hosts

This commit is contained in:
Jose M 2019-11-27 10:04:21 +01:00
parent dbf436be04
commit ae5a3d6f91
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ wazuh_manager_sources_installation:
threads: "2"
wazuh_api_sources_installation:
enabled: false
enabled: true
branch: "v3.10.2"
update: "y"
remove: "y"

View File

@ -123,7 +123,7 @@
- include_tasks: "../tasks/installation_from_sources.yml"
when:
- wazuh_manager_sources_installation.enabled
- wazuh_manager_sources_installation.enabled or wazuh_api_sources_installation.enabled
- name: CentOS/RedHat/Amazon | Install Wazuh API
package: