Make keys2deploy optional
This commit is contained in:
		
							parent
							
								
									9a6a05e2d0
								
							
						
					
					
						commit
						4c2e657c98
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -4,6 +4,7 @@
 | 
			
		|||
    user: ansible
 | 
			
		||||
    key: "{{ item }}"
 | 
			
		||||
  loop: "{{ keys2deploy }}"
 | 
			
		||||
  when: keys2deploy is defined
 | 
			
		||||
 | 
			
		||||
- name: Allow sudo without password for ansible
 | 
			
		||||
  ansible.builtin.lineinfile:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue