Merge pull request #452 from wazuh/fix-check_mode_condition
Fix check_mode condition
This commit is contained in:
commit
11ac593569
@ -35,9 +35,9 @@
|
||||
- ansible_os_family|lower != "redhat"
|
||||
- not wazuh_agent_sources_installation.enabled
|
||||
- not wazuh_custom_packages_installation_agent_enabled
|
||||
- not ansible_check_mode
|
||||
tags:
|
||||
- init
|
||||
when: not ansible_check_mode
|
||||
|
||||
- name: Linux | Check if client.keys exists
|
||||
stat: path=/var/ossec/etc/client.keys
|
||||
|
||||
Loading…
Reference in New Issue
Block a user