Merge pull request #360 from wazuh/fix-manager-api-verification
Fix manager API verification
This commit is contained in:
commit
b3396a6909
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user