diff --git a/roles/proxmox_lxc/tasks/main.yml b/roles/proxmox_lxc/tasks/main.yml index 3016392..22d6251 100644 --- a/roles/proxmox_lxc/tasks/main.yml +++ b/roles/proxmox_lxc/tasks/main.yml @@ -5,6 +5,17 @@ delegate_to: proxmox changed_when: false +- name: Verify template exists at custom path + shell: ls -la "/mnt/pve/vmbackup/template/cache/ubuntu-24.04-standard_24.04-2_amd64.tar.zst" + register: template_check + delegate_to: proxmox + changed_when: false + ignore_errors: yes + +- name: Display template check result + debug: + var: template_check + - name: Create Gateway LXC container using correct template path shell: | pct create 221 \