style 💎: Update rsync opts for sudo rsync path

Updated rsync options to include the sudo rsync path, ensuring secure file transfer. This change aligns with best practices for secure file management in Proxmox environments.
This commit is contained in:
2025-11-08 18:01:42 +01:00
parent 9fea674cae
commit 3c4b4a749d

View File

@@ -217,8 +217,8 @@
src: "{{ workdir }}/{{ template_name }}.qcow2"
dest: "/var/lib/vz/template/qcow2/"
mode: push
rsync_opts:
- "--rsync-path='sudo rsync'"
# rsync_opts:
# - "--rsync-path='sudo rsync'"
- name: Import Debian Cloud image as Proxmox VM template
hosts: node0