fix(proxmox_lxc_provision): drop self-referential lxc_vmid default in edit-config include
lxc_vmid: {{ lxc_result.vmid | default(lxc_vmid) }} defined the var in terms of
itself, causing infinite templating recursion. Mirror start.yml and use
lxc_result.vmid directly, which is always registered by the clone or create path.
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
ansible.builtin.include_tasks:
|
||||
file: edit-config.yml
|
||||
vars:
|
||||
lxc_vmid: "{{ lxc_result.vmid | default(lxc_vmid) }}"
|
||||
lxc_vmid: "{{ lxc_result.vmid }}"
|
||||
when: lxc_id_mappings is defined or lxc_nvidia_gpu_mount
|
||||
|
||||
- name: Start the created container and wait for ssh
|
||||
|
||||
Reference in New Issue
Block a user