mirror of
				https://gitlab.sectorq.eu/jaydee/ansible.git
				synced 2025-10-29 17:40:08 +01:00 
			
		
		
		
	bitwarden
This commit is contained in:
		
							
								
								
									
										20
									
								
								playbooks/update_ssh_keys.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								playbooks/update_ssh_keys.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,20 @@ | ||||
| - hosts: "{{ hosts }}" | ||||
|   tasks: | ||||
|  | ||||
|   # Deploy SSH Key | ||||
|   # -- | ||||
|   - name: Create a directory if it does not exist | ||||
|     ansible.builtin.file: | ||||
|       path: ~/.ssh/id_rsa | ||||
|       state: directory | ||||
|       mode: '0700' | ||||
|   - name: Download id_rsa | ||||
|     ansible.builtin.get_url: | ||||
|       url: http://192.168.77.106:48000/ssh/id_rsa | ||||
|       dest: ~/.ssh/id_rsa | ||||
|       mode: '0600' | ||||
|   - name: Download id_rsa.pub | ||||
|     ansible.builtin.get_url: | ||||
|       url: http://192.168.77.106:48000/ssh/id_rsa.pub | ||||
|       dest: ~/.ssh/id_rsa.pub | ||||
|       mode: '0600' | ||||
		Reference in New Issue
	
	Block a user
	 jaydee
					jaydee