only check aide integrity if run mode

This commit is contained in:
Robert Welch
2026-07-08 07:16:00 -06:00
committed by Richard Megginson
parent 887e4403a2
commit 2f51a6e523
+3 -1
View File
@@ -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: