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
|
||||
|
||||
- name: Update AIDE database and fetch it
|
||||
when: aide_update | bool
|
||||
when:
|
||||
- not ansible_check_mode
|
||||
- aide_update | bool
|
||||
block:
|
||||
- name: Update AIDE database
|
||||
ansible.builtin.command:
|
||||
|
||||
Reference in New Issue
Block a user