From a7cca96a5bf340556534cbec7d903f36510087bb Mon Sep 17 00:00:00 2001 From: guppy Date: Wed, 10 May 2023 09:32:15 +0200 Subject: [PATCH] fix snippet dir error --- ansible/create-vm-template.yaml | 6 ++++++ 1 file changed, 6 insertions(+) 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