From 3b512c558bc93e7eae525f67d65066fbf0d26de9 Mon Sep 17 00:00:00 2001 From: Jose Date: Sat, 8 Nov 2025 19:24:47 +0100 Subject: [PATCH] =?UTF-8?q?style=20=F0=9F=92=8E:=20Update=20synchronize=20?= =?UTF-8?q?command=20to=20use=20posix=20module?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updated the synchronize command in the Proxmox template task to use the ansible.posix.synchronize module, which is more compatible with Proxmox's file system. This change ensures that the template can be successfully synchronized on the target host. --- tasks/create_proxmox_debian_template.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/create_proxmox_debian_template.yml b/tasks/create_proxmox_debian_template.yml index 1329fff..987314f 100644 --- a/tasks/create_proxmox_debian_template.yml +++ b/tasks/create_proxmox_debian_template.yml @@ -213,10 +213,10 @@ # qemu-img resize {{ workdir }}/{{ template_name }}.qcow2 --shrink - name: Copy finished template back to Proxmox host - ansible.builtin.synchronize: + ansible.posix.synchronize: src: "{{ workdir }}/{{ template_name }}.qcow2" dest: "/var/lib/vz/template/qcow2/" - mode: pull + mode: push # rsync_opts: # - "--rsync-path='sudo rsync'"