only update and fetch aide database if run mode

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