From 29f712947483f6a259501081bba5a961803c269e Mon Sep 17 00:00:00 2001 From: Joshua Hemmings Date: Wed, 10 Jan 2024 08:46:04 +0100 Subject: [PATCH] Align RHEL9 hardening to RHEL8 to pass OpenSCAP check Signed-off-by: Joshua Hemmings --- tasks/section_5/cis_5.3.x.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/section_5/cis_5.3.x.yml b/tasks/section_5/cis_5.3.x.yml index 2f63b23..65eb8c9 100644 --- a/tasks/section_5/cis_5.3.x.yml +++ b/tasks/section_5/cis_5.3.x.yml @@ -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