Merge pull request #194 from dsroark-dt/async_ignore_check_mode
ignore check mode for async tasks
This commit is contained in:
commit
3b87adf8a3
@ -37,6 +37,7 @@
|
|||||||
- not wazuh_custom_packages_installation_agent_enabled
|
- not wazuh_custom_packages_installation_agent_enabled
|
||||||
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
|
||||||
@ -193,6 +194,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
|
||||||
|
|
||||||
|
|||||||
@ -272,6 +272,7 @@
|
|||||||
when:
|
when:
|
||||||
- wazuh_manager_config.vuls.disable != 'yes'
|
- wazuh_manager_config.vuls.disable != 'yes'
|
||||||
- ansible_distribution in ['Redhat', 'CentOS', 'Ubuntu', 'Debian', 'Oracle', 'Amazon']
|
- ansible_distribution in ['Redhat', 'CentOS', 'Ubuntu', 'Debian', 'Oracle', 'Amazon']
|
||||||
|
- not ansible_check_mode
|
||||||
tags:
|
tags:
|
||||||
- init
|
- init
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user