Sanatizing the Manager and API active status verification task
This commit is contained in:
parent
8cc279a053
commit
01fb6b1d36
@ -339,20 +339,6 @@
|
|||||||
- wazuh-api
|
- wazuh-api
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
environment:
|
|
||||||
LD_LIBRARY_PATH: "$LD_LIBRARY_PATH:/var/ossec/framework/lib"
|
|
||||||
when:
|
|
||||||
- not (ansible_facts['os_family']|lower == 'redhat' and 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"
|
- include_tasks: "RMRedHat.yml"
|
||||||
when:
|
when:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user