idempotent improvements, var fixes
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
1f90fef6dd
commit
a22741daa9
|
@ -165,7 +165,7 @@
|
||||||
- name: Auditd rules reload
|
- name: Auditd rules reload
|
||||||
when:
|
when:
|
||||||
- not prelim_auditd_immutable_check or
|
- not prelim_auditd_immutable_check or
|
||||||
'"No change" not in ubtu24cis_rule_4_1_3_21_augen_check.stdout'
|
'"No change" not in ubtu24cis_rule_6_2_3_21_grep -iR augen_check.stdout'
|
||||||
ansible.builtin.shell: augenrules --load
|
ansible.builtin.shell: augenrules --load
|
||||||
|
|
||||||
- name: Audit_immutable_fact
|
- name: Audit_immutable_fact
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
- name: "POST | AUDITD | Apply auditd template for section 4.1.3.x"
|
- name: "POST | AUDITD | Apply auditd template for section 6.2.4.x"
|
||||||
when: update_audit_template
|
when: update_audit_template
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: audit/99_auditd.rules.j2
|
src: audit/99_auditd.rules.j2
|
||||||
|
|
Loading…
Reference in New Issue