forked from CCCHH/ansible-infra
		
	dep._hyperv.(playb.): add deps step to vm template generation setup play
This commit is contained in:
		
					parent
					
						
							
								fd13e5341b
							
						
					
				
			
			
				commit
				
					
						41ba73d7c3
					
				
			
		
					 1 changed files with 7 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1,6 +1,13 @@
 | 
			
		|||
- name: Ensure the VM template generation is set up
 | 
			
		||||
  hosts: proxmox_vm_template_hosts
 | 
			
		||||
  tasks:
 | 
			
		||||
    - name: Ensure dependencies are present
 | 
			
		||||
      ansible.builtin.apt:
 | 
			
		||||
        name:
 | 
			
		||||
          - git
 | 
			
		||||
          - libguestfs-tools
 | 
			
		||||
      become: true
 | 
			
		||||
 | 
			
		||||
    - name: Ensure /usr/local/{lib,sbin} exist
 | 
			
		||||
      ansible.builtin.file:
 | 
			
		||||
        path: "{{ item }}"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue