Fix deletion of old sudoers files
This commit is contained in:
		@@ -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() }}"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user