only update and fetch aide database if run mode
This commit is contained in:
committed by
Richard Megginson
parent
2f51a6e523
commit
df809ebfcd
+3
-1
@@ -111,7 +111,9 @@
|
|||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
||||||
- name: Update AIDE database and fetch it
|
- name: Update AIDE database and fetch it
|
||||||
when: aide_update | bool
|
when:
|
||||||
|
- not ansible_check_mode
|
||||||
|
- aide_update | bool
|
||||||
block:
|
block:
|
||||||
- name: Update AIDE database
|
- name: Update AIDE database
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
|
|||||||
Reference in New Issue
Block a user