You've already forked ansible-role-unix-users
							
							fix: config ssh client config
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		@@ -2,6 +2,6 @@
 | 
			
		||||
#
 | 
			
		||||
# {{ ansible_managed }}
 | 
			
		||||
#
 | 
			
		||||
{% for key in unix_user.value.ssh_keys.public %}
 | 
			
		||||
{{ lookup('file', 'ssh/pubkeys/' + key) }}
 | 
			
		||||
{% for key in unix_user.value.ssh.authorized_keys %}
 | 
			
		||||
{{ lookup('file', 'ssh/authorized_keys/' + key) }}
 | 
			
		||||
{% endfor %}
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										14
									
								
								templates/config.j2
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								templates/config.j2
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,14 @@
 | 
			
		||||
#jinja2: lstrip_blocks: True
 | 
			
		||||
#
 | 
			
		||||
# {{ ansible_managed }}
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
{% for config in unix_user.value.ssh.config %}
 | 
			
		||||
{% for property, value in config.items() %}
 | 
			
		||||
{% if property == "Host" %}
 | 
			
		||||
{{ property }} {{ value }}
 | 
			
		||||
{% else %}
 | 
			
		||||
  {{ property }} = {{ value }}
 | 
			
		||||
{% endif %}
 | 
			
		||||
{% endfor %}
 | 
			
		||||
{% endfor %}
 | 
			
		||||
		Reference in New Issue
	
	Block a user