Fix API from sources installation conditional

This commit is contained in:
Jose M 2020-05-08 20:05:28 +02:00
parent cd6f05097b
commit 459ac46310
No known key found for this signature in database
GPG Key ID: 790179D6924E10FF

View File

@ -123,7 +123,7 @@
path: /var/ossec/api/app.js path: /var/ossec/api/app.js
register: wazuh_api register: wazuh_api
when: when:
- wazuh_manager_config.cluster.node_type == "master" - wazuh_manager_config.cluster.node_type == "master" or wazuh_manager_config.cluster.node_type == "worker"
- name: Install Wazuh API from sources - name: Install Wazuh API from sources
block: block: