Merge pull request #452 from wazuh/fix-check_mode_condition

Fix check_mode condition
This commit is contained in:
Manuel J. Bernal 2020-07-23 12:35:48 +02:00 committed by GitHub
commit 11ac593569
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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