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:
@@ -229,7 +229,7 @@
|
||||
ansible.posix.synchronize:
|
||||
src: "{{ workdir }}/{{ template_name }}.qcow2"
|
||||
dest: "/var/lib/vz/template/qemu/"
|
||||
mode: pull
|
||||
mode: push
|
||||
# delegate_to: node0
|
||||
# rsync_opts:
|
||||
# - "--rsync-path='sudo rsync'"
|
||||
|
||||
Reference in New Issue
Block a user