issue #10 thanks to cf-sewe

Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
Mark Bolwell 2025-02-14 12:06:57 +00:00
parent 889377b507
commit a290776eee
No known key found for this signature in database
GPG Key ID: 997FF7FE93AEB5B9
1 changed files with 2 additions and 0 deletions

View File

@ -240,6 +240,8 @@
when: ('"No change" not in discovered_augenrules_check.stdout') or prelim_auditd_immutable_check.rc == 1
ansible.builtin.command: augenrules --load
changed_when: true
failed_when: discovered_augenrule_load.rc not in [ 0, 1 ]
register: discovered_augenrule_load
- name: Audit_immutable_fact
when: