mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2026-03-26 14:37:13 +00:00
commit
73c84de639
8 changed files with 50 additions and 29 deletions
|
|
@ -58,6 +58,10 @@
|
|||
dest: /var/lib/aide/aide.db.gz
|
||||
remote_src: true
|
||||
mode: 'ug-wx,o-rwx'
|
||||
register: aide_db_cp
|
||||
failed_when:
|
||||
- not ansible_check_mode
|
||||
- aide_db_cp.failed
|
||||
|
||||
- name: "6.1.2 | PATCH | Ensure filesystem integrity is regularly checked"
|
||||
when:
|
||||
|
|
@ -120,3 +124,7 @@
|
|||
/usr/sbin/ausearch p+i+n+u+g+s+b+acl+xattrs+sha512
|
||||
/usr/sbin/autrace p+i+n+u+g+s+b+acl+xattrs+sha512
|
||||
validate: aide -D --config %s
|
||||
register: aide_file_integrity_check
|
||||
failed_when:
|
||||
- not ansible_check_mode
|
||||
- aide_file_integrity_check.failed
|
||||
|
|
|
|||
|
|
@ -20,7 +20,9 @@
|
|||
file: cis_6.2.2.x.yml
|
||||
|
||||
- name: "SECTION | 6.2.3 | Configure rsyslog"
|
||||
when: rhel9cis_syslog == 'rsyslog'
|
||||
when:
|
||||
- rhel9cis_syslog == 'rsyslog'
|
||||
- rhel9cis_rsyslog_ansiblemanaged
|
||||
ansible.builtin.import_tasks:
|
||||
file: cis_6.2.3.x.yml
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue