From 52a293e9a12a3fb3dbd77fab14600fdbc21eb9dd Mon Sep 17 00:00:00 2001 From: Mark Bolwell Date: Mon, 27 Feb 2023 17:25:32 +0000 Subject: [PATCH] removed register Signed-off-by: Mark Bolwell --- tasks/auditd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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