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