Fixed check_mode when condition

This commit is contained in:
Manuel J. Bernal 2020-07-23 12:32:47 +02:00
parent 1b50c4cb40
commit e310b7b766

View File

@ -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