style 💎: Update rsync options for proxmox template sync
Updated the rsync options to use 'push' instead of 'pull', ensuring proper synchronization of the template with Proxmox. This change improves the consistency and reliability of the template deployment process.
This commit is contained in:
@@ -216,7 +216,7 @@
|
|||||||
ansible.builtin.synchronize:
|
ansible.builtin.synchronize:
|
||||||
src: "{{ workdir }}/{{ template_name }}.qcow2"
|
src: "{{ workdir }}/{{ template_name }}.qcow2"
|
||||||
dest: "/var/lib/vz/template/qcow2/"
|
dest: "/var/lib/vz/template/qcow2/"
|
||||||
mode: pull
|
mode: push
|
||||||
rsync_opts:
|
rsync_opts:
|
||||||
- "--rsync-path='sudo rsync'"
|
- "--rsync-path='sudo rsync'"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user