mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2026-05-09 23:33:53 +00:00
QA, lint, standards, var naming, title aming aligned
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
69bef1f371
commit
201edf02e4
39 changed files with 478 additions and 608 deletions
|
|
@ -295,6 +295,13 @@
|
|||
state: directory
|
||||
mode: 'u+x,g-w,o-rwx'
|
||||
|
||||
- name: "PRELIM | AUDIT | Discover if auditd is immutable"
|
||||
tags: always
|
||||
ansible.builtin.command: grep -c "^-e 2" /etc/audit/rules.d/99_auditd.rules
|
||||
changed_when: false
|
||||
failed_when: prelim_auditd_immutable_check.rc not in [ 0, 1, 2 ]
|
||||
register: prelim_auditd_immutable_check
|
||||
|
||||
- name: "PRELIM | PATCH | Configure System Accounting (auditd)"
|
||||
when:
|
||||
- '"auditd" not in ansible_facts.packages'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue