4
0
Fork 0

removed register

Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
Mark Bolwell 2023-02-27 17:25:32 +00:00
parent a58e3ff0d6
commit 52a293e9a1
No known key found for this signature in database
GPG key ID: 1DE02A772D0908F9

View file

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