only check aide integrity if run mode
This commit is contained in:
committed by
Richard Megginson
parent
887e4403a2
commit
2f51a6e523
+3
-1
@@ -91,7 +91,9 @@
|
|||||||
state: absent
|
state: absent
|
||||||
|
|
||||||
- name: Check AIDE integrity
|
- name: Check AIDE integrity
|
||||||
when: aide_check | bool
|
when:
|
||||||
|
- not ansible_check_mode
|
||||||
|
- aide_check | bool
|
||||||
block:
|
block:
|
||||||
- name: Copy AIDE reference database
|
- name: Copy AIDE reference database
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
|
|||||||
Reference in New Issue
Block a user