Fixed check_mode when condition
This commit is contained in:
parent
1b50c4cb40
commit
e310b7b766
@ -35,9 +35,9 @@
|
|||||||
- ansible_os_family|lower != "redhat"
|
- ansible_os_family|lower != "redhat"
|
||||||
- not wazuh_agent_sources_installation.enabled
|
- not wazuh_agent_sources_installation.enabled
|
||||||
- not wazuh_custom_packages_installation_agent_enabled
|
- not wazuh_custom_packages_installation_agent_enabled
|
||||||
|
- not ansible_check_mode
|
||||||
tags:
|
tags:
|
||||||
- init
|
- init
|
||||||
when: not ansible_check_mode
|
|
||||||
|
|
||||||
- name: Linux | Check if client.keys exists
|
- name: Linux | Check if client.keys exists
|
||||||
stat: path=/var/ossec/etc/client.keys
|
stat: path=/var/ossec/etc/client.keys
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user