diff --git a/tasks/auditd.yml b/tasks/auditd.yml index f2dd122..07e73d2 100644 --- a/tasks/auditd.yml +++ b/tasks/auditd.yml @@ -1,4 +1,5 @@ --- + - name: POST | AUDITD | Apply auditd template will for section 4.1.3 - only required rules will be added | stat file ansible.builtin.stat: path: /etc/audit/rules.d/99_auditd.rules @@ -12,7 +13,6 @@ group: root mode: 0640 diff: "{{ auditd_file.stat.exists }}" # Only run diff if not a new file - register: audit_rules_updated notify: - Auditd immutable check - Audit immutable fact