mirror of
				https://gitlab.sectorq.eu/jaydee/ansible.git
				synced 2025-10-30 18:01:11 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
		
			228 B
		
	
	
	
		
			YAML
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			228 B
		
	
	
	
		
			YAML
		
	
	
		
			Executable File
		
	
	
	
	
| - hosts: odroid_cluster
 | |
|   tasks:
 | |
|     - name: Set authorized key taken from file
 | |
|       ansible.posix.authorized_key:
 | |
|         user: jd
 | |
|         state: present
 | |
|         key: "{{ lookup('file', '/home/jd/.ssh/id_rsa.pub') }}"
 | |
|          | 
