ignore check mode for async roles
This commit is contained in:
parent
539d056f38
commit
72ccac8518
@ -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
|
||||||
|
|
||||||
|
|||||||
@ -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
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user