Populate 'known_hosts'
	
		
			
	
		
	
	
		
	
		
			Some checks reported errors
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build encountered an error
				
			
		
		
	
	
				
					
				
			
		
			Some checks reported errors
		
		
	
	continuous-integration/drone/push Build encountered an error
				
			This commit is contained in:
		| @@ -66,6 +66,11 @@ | |||||||
|       groups: k3s_ha |       groups: k3s_ha | ||||||
|     with_items: "{{ nodes }}" |     with_items: "{{ nodes }}" | ||||||
|  |  | ||||||
|  |   - name: Store public keys in 'known_hosts' | ||||||
|  |     ansible.builtin.command: | ||||||
|  |       cmd: ssh-keyscan -t rsa {{ item.ip }} >> ~/.ssh/known_hosts | ||||||
|  |     with_items: "{{ nodes }}" | ||||||
|  |  | ||||||
| - name: Provision Kubernetes | - name: Provision Kubernetes | ||||||
|   hosts: k3s_ha |   hosts: k3s_ha | ||||||
|   gather_facts: false |   gather_facts: false | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user