This commit is contained in:
		@@ -17,7 +17,7 @@
 | 
			
		||||
    state: "{{ item.state }}"
 | 
			
		||||
  loop:
 | 
			
		||||
  - { regex: '$#PasswordAuthentication', line: 'PasswordAuthentication no', state: present}
 | 
			
		||||
  - { regex: ~, line: 'PasswordAuthentication yes', state: absent}
 | 
			
		||||
  - { regex: '$PasswordAuthentication yes', line: 'PasswordAuthentication yes', state: absent}
 | 
			
		||||
- name: Delete 'ubuntu' user
 | 
			
		||||
  ansible.builtin.user:
 | 
			
		||||
    name: ubuntu
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user