style 💎: Update template synchronization mode to push

Updated the Ansible synchronize task to use a push mode instead of pull, which will ensure that the latest template is deployed on each node.
This commit is contained in:
2025-11-08 21:34:16 +01:00
parent ffbcb2b04f
commit cb32af2ad4

View File

@@ -229,7 +229,7 @@
ansible.posix.synchronize: ansible.posix.synchronize:
src: "{{ workdir }}/{{ template_name }}.qcow2" src: "{{ workdir }}/{{ template_name }}.qcow2"
dest: "/var/lib/vz/template/qemu/" dest: "/var/lib/vz/template/qemu/"
mode: pull mode: push
# delegate_to: node0 # delegate_to: node0
# rsync_opts: # rsync_opts:
# - "--rsync-path='sudo rsync'" # - "--rsync-path='sudo rsync'"