forked from ansible-lockdown/RHEL9-CIS
removed register
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
a58e3ff0d6
commit
52a293e9a1
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue