ignore check mode for async roles

This commit is contained in:
Devin Roark 2019-06-27 09:32:10 -04:00
parent 539d056f38
commit 72ccac8518
2 changed files with 3 additions and 0 deletions

View File

@ -11,6 +11,7 @@
poll: 15 poll: 15
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
@ -142,6 +143,7 @@
when: when:
- wazuh_agent_config.vuls.disable != 'yes' - wazuh_agent_config.vuls.disable != 'yes'
- ansible_distribution in ['Redhat', 'CentOS', 'Ubuntu', 'Debian', 'Oracle'] - ansible_distribution in ['Redhat', 'CentOS', 'Ubuntu', 'Debian', 'Oracle']
- not ansible_check_mode
tags: tags:
- init - init

View File

@ -263,6 +263,7 @@
when: when:
- wazuh_manager_config.vuls.disable != 'yes' - wazuh_manager_config.vuls.disable != 'yes'
- ansible_distribution in ['Redhat', 'CentOS', 'Ubuntu', 'Debian', 'Oracle'] - ansible_distribution in ['Redhat', 'CentOS', 'Ubuntu', 'Debian', 'Oracle']
- not ansible_check_mode
tags: tags:
- init - init