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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user