From b4121c3198a567c467d05775e68e62da52286e39 Mon Sep 17 00:00:00 2001 From: Administrator Date: Fri, 10 Oct 2025 16:29:43 +0000 Subject: [PATCH] Update file main.yml --- roles/proxmox_lxc/tasks/main.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 \