mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-28 07:53:07 +00:00
Align RHEL9 hardening to RHEL8 to pass OpenSCAP check
Signed-off-by: Joshua Hemmings <josh@hemmings.ch>
This commit is contained in:
parent
200b2c244b
commit
29f7129474
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@
|
||||||
ansible.builtin.lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
path: /etc/sudoers
|
path: /etc/sudoers
|
||||||
regexp: '^Defaults logfile='
|
regexp: '^Defaults logfile='
|
||||||
line: 'Defaults logfile="{{ rhel9cis_sudolog_location }}"'
|
line: 'Defaults logfile={{ rhel9cis_sudolog_location }}'
|
||||||
validate: '/usr/sbin/visudo -cf %s'
|
validate: '/usr/sbin/visudo -cf %s'
|
||||||
when:
|
when:
|
||||||
- rhel9cis_rule_5_3_3
|
- rhel9cis_rule_5_3_3
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue