diff --git a/ansible/create-vm-template.yaml b/ansible/create-vm-template.yaml index fcc85ac..8d59c3a 100644 --- a/ansible/create-vm-template.yaml +++ b/ansible/create-vm-template.yaml @@ -31,6 +31,12 @@ - libguestfs-tools become: yes + - name: Create Proxmox snippet + file: + path: /var/lib/vz/snippets + state: directory + mode: '0755' + - name: Install QEMU agent on img command: "virt-customize -a {{ vm.cloud_image_path }} --install qemu-guest-agent" become: yes