mirror of
				https://github.com/Rudd-O/ansible-qubes.git
				synced 2025-10-31 19:48:54 +01:00 
			
		
		
		
	 057d2f2ea5
			
		
	
	
		057d2f2ea5
		
			
		
	
	
	
	
		
			
			* Use YAML syntax which is better human readable. * Try to use Ansible modules for operations when this is possible. * `template/dumpenv/dumpenv.j2` seems to be missing.
		
			
				
	
	
		
			20 lines
		
	
	
		
			370 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			370 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| ---
 | |
| 
 | |
| - name: Remove previous directory
 | |
|   file:
 | |
|     path: '/tmp/dump'
 | |
|     state: 'absent'
 | |
|   delegate_to: 'localhost'
 | |
| 
 | |
| - name: Create directory
 | |
|   file:
 | |
|     path: '/tmp/dump'
 | |
|     state: 'directory'
 | |
|   delegate_to: 'localhost'
 | |
| 
 | |
| - name: Dump all vars
 | |
|   template:
 | |
|     src: 'template/dumpenv/dumpenv.j2'
 | |
|     dest: '/tmp/dump/{{ inventory_hostname }}'
 | |
|   delegate_to: 'localhost'
 |