fix(runtime): migrate roles to nested system fields
This commit is contained in:
@@ -79,7 +79,7 @@
|
||||
quiet: true
|
||||
|
||||
- name: VM existence protection check
|
||||
when: install_type == "virtual"
|
||||
when: system_cfg.type == "virtual"
|
||||
block:
|
||||
- name: Check if VM already exists on libvirt
|
||||
when: hypervisor_type == "libvirt"
|
||||
@@ -110,7 +110,7 @@
|
||||
api_host: "{{ hypervisor_cfg.url }}"
|
||||
api_user: "{{ hypervisor_cfg.username }}"
|
||||
api_password: "{{ hypervisor_cfg.password }}"
|
||||
node: "{{ hypervisor_cfg.node }}"
|
||||
node: "{{ hypervisor_cfg.host }}"
|
||||
vmid: "{{ system_cfg.id }}"
|
||||
name: "{{ hostname }}"
|
||||
type: qemu
|
||||
|
||||
Reference in New Issue
Block a user