Align RHEL9 hardening to RHEL8 to pass OpenSCAP check

Signed-off-by: Joshua Hemmings <josh@hemmings.ch>
This commit is contained in:
Joshua Hemmings 2024-01-10 08:46:04 +01:00 committed by GitHub
parent 200b2c244b
commit 29f7129474
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,7 +31,7 @@
ansible.builtin.lineinfile:
path: /etc/sudoers
regexp: '^Defaults logfile='
line: 'Defaults logfile="{{ rhel9cis_sudolog_location }}"'
line: 'Defaults logfile={{ rhel9cis_sudolog_location }}'
validate: '/usr/sbin/visudo -cf %s'
when:
- rhel9cis_rule_5_3_3