remove quotes in sudoers file in order to pass openscap security scan

Signed-off-by: Francesco Trentini <francesco.trentini@ris.bz.it>
This commit is contained in:
Francesco Trentini 2024-03-21 16:12:58 +01:00
parent 6eeae19517
commit 4d90fed61b
No known key found for this signature in database
GPG key ID: F6671CF68B529CCB

View file

@ -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