Update file main.yml
This commit is contained in:
parent
1ac68fa21e
commit
b4121c3198
@ -5,6 +5,17 @@
|
|||||||
delegate_to: proxmox
|
delegate_to: proxmox
|
||||||
changed_when: false
|
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
|
- name: Create Gateway LXC container using correct template path
|
||||||
shell: |
|
shell: |
|
||||||
pct create 221 \
|
pct create 221 \
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user