diff --git a/tasks/create_proxmox_debian_template.yml b/tasks/create_proxmox_debian_template.yml index 987314f..e1c8db3 100644 --- a/tasks/create_proxmox_debian_template.yml +++ b/tasks/create_proxmox_debian_template.yml @@ -115,6 +115,11 @@ state: present update_cache: true + - name: Ensure sudo is installed + ansible.builtin.apt: + name: sudo + state: present + - name: Create working directory ansible.builtin.file: path: "{{ workdir }}" @@ -217,6 +222,8 @@ src: "{{ workdir }}/{{ template_name }}.qcow2" dest: "/var/lib/vz/template/qcow2/" mode: push + rsync_opts: + - "--rsync-path='rsync'" # rsync_opts: # - "--rsync-path='sudo rsync'"