Merge pull request #283 from sgargel/patch-1
Fix for Wazuh-API User skipped on debian
This commit is contained in:
commit
8cc279a053
@ -342,8 +342,7 @@
|
|||||||
environment:
|
environment:
|
||||||
LD_LIBRARY_PATH: "$LD_LIBRARY_PATH:/var/ossec/framework/lib"
|
LD_LIBRARY_PATH: "$LD_LIBRARY_PATH:/var/ossec/framework/lib"
|
||||||
when:
|
when:
|
||||||
- not (ansible_distribution == 'CentOS' or ansible_distribution == 'RedHat' or ansible_distribution == 'Amazon')
|
- not (ansible_facts['os_family']|lower == 'redhat' and ansible_distribution_major_version|int < 6)
|
||||||
- ansible_distribution_major_version|int < 6
|
|
||||||
|
|
||||||
- name: Ensure Wazuh Manager is started and enabled (EL5)
|
- name: Ensure Wazuh Manager is started and enabled (EL5)
|
||||||
service:
|
service:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user