skylab
/
skylab-ansible
Archived
2
0
Fork 0

Fix deletion of old sudoers files

This commit is contained in:
Ethan Paul 2021-11-06 01:16:05 -04:00
parent 487e41c058
commit d24a9b2713
No known key found for this signature in database
GPG Key ID: 6A337337DF6B5B1A
1 changed files with 1 additions and 1 deletions

View File

@ -25,6 +25,6 @@
ansible.builtin.file:
path: /etc/sudoers.d/{{ item.strip() }}
state: absent
loop: "{{ _sudoers_files_raw.stdout.split(' ') }}"
loop: "{{ _sudoers_files_raw.stdout_lines }}"
loop_control:
label: "/etc/sudoers.d/{{ item.strip() }}"