From b391cd6df95170effa93412be571bf7ee66f6f99 Mon Sep 17 00:00:00 2001 From: Jose Date: Sat, 8 Nov 2025 21:18:30 +0100 Subject: [PATCH] =?UTF-8?q?style=20=F0=9F=92=8E:=20Update=20rsync=20mode?= =?UTF-8?q?=20and=20delegate=20to=20node0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changed the rsync mode from push to pull, and added a delegate_to parameter to specify the target node for the rsync operation. --- tasks/create_proxmox_debian_template.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tasks/create_proxmox_debian_template.yml b/tasks/create_proxmox_debian_template.yml index de0017d..69e99c5 100644 --- a/tasks/create_proxmox_debian_template.yml +++ b/tasks/create_proxmox_debian_template.yml @@ -221,9 +221,8 @@ ansible.posix.synchronize: src: "{{ workdir }}/{{ template_name }}.qcow2" dest: "/var/lib/vz/template/iso/" - mode: push - rsync_opts: - - "--rsync-path='rsync'" + mode: pull + delegate_to: node0 # rsync_opts: # - "--rsync-path='sudo rsync'"