28 lines
		
	
	
		
			507 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
		
		
			
		
	
	
			28 lines
		
	
	
		
			507 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| 
								 | 
							
								---
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								 - name: Copy the key
							 | 
						||
| 
								 | 
							
								   become: true
							 | 
						||
| 
								 | 
							
								   copy:
							 | 
						||
| 
								 | 
							
								     dest: /home/aether/.ssh/aether
							 | 
						||
| 
								 | 
							
								     content: "{{ aether_key.stdout }}"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								 - name: Copy the public key
							 | 
						||
| 
								 | 
							
								   become: true
							 | 
						||
| 
								 | 
							
								   copy:
							 | 
						||
| 
								 | 
							
								     dest: /home/aether/.ssh/aether.pub
							 | 
						||
| 
								 | 
							
								     content: "{{ aether_key.stdout }}"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								 - name: Enable the service
							 | 
						||
| 
								 | 
							
								   become: yes
							 | 
						||
| 
								 | 
							
								   service:
							 | 
						||
| 
								 | 
							
								     name: aether.timer
							 | 
						||
| 
								 | 
							
								     state: enabled
							 | 
						||
| 
								 | 
							
								     running: yes
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								 - name: Enable the service - 2
							 | 
						||
| 
								 | 
							
								   become: yes
							 | 
						||
| 
								 | 
							
								   service:
							 | 
						||
| 
								 | 
							
								     name: aether-gen.timer
							 | 
						||
| 
								 | 
							
								     state: disabled
							 | 
						||
| 
								 | 
							
								     running: no
							 |