[openssh] Permit root login
							parent
							
								
									9ee665828d
								
							
						
					
					
						commit
						1a2890936b
					
				| 
						 | 
				
			
			@ -2,8 +2,8 @@
 | 
			
		|||
- name: Filter SSH on groups
 | 
			
		||||
  lineinfile:
 | 
			
		||||
    dest: /etc/ssh/sshd_config
 | 
			
		||||
    regexp: ^AllowGroups
 | 
			
		||||
    line: "AllowGroups {{ ssh_allow_groups }}"
 | 
			
		||||
    regexp: ^#?PermitRootLogin
 | 
			
		||||
    line: "PermitRootLogin yes"
 | 
			
		||||
    state: present
 | 
			
		||||
  notify: Restart sshd service
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue