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'"