Merge pull request #360 from wazuh/fix-manager-api-verification

Fix manager API verification
This commit is contained in:
Manuel J. Bernal 2020-02-11 18:14:35 +01:00 committed by GitHub
commit b3396a6909
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -339,21 +339,6 @@
- wazuh-api
tags:
- config
environment:
LD_LIBRARY_PATH: "$LD_LIBRARY_PATH:/var/ossec/framework/lib"
when:
- not (ansible_distribution == 'CentOS' or ansible_distribution == 'RedHat' or ansible_distribution == 'Amazon')
- ansible_distribution_major_version|int < 6
- name: Ensure Wazuh Manager is started and enabled (EL5)
service:
name: wazuh-manager
enabled: true
state: started
tags:
- config
when:
- ansible_distribution in ['CentOS', 'RedHat', 'Amazon'] and ansible_distribution_major_version|int < 6
- include_tasks: "RMRedHat.yml"
when: