refactor(vars): add system/hypervisor dict inputs
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
api_user: "{{ hypervisor_username }}"
|
||||
api_password: "{{ hypervisor_password }}"
|
||||
name: "{{ hostname }}"
|
||||
vmid: "{{ vm_id }}"
|
||||
vmid: "{{ system_cfg.id }}"
|
||||
disk: "{{ item }}"
|
||||
state: absent
|
||||
loop:
|
||||
@@ -23,5 +23,5 @@
|
||||
api_user: "{{ hypervisor_username }}"
|
||||
api_password: "{{ hypervisor_password }}"
|
||||
node: "{{ hypervisor_node }}"
|
||||
vmid: "{{ vm_id }}"
|
||||
vmid: "{{ system_cfg.id }}"
|
||||
state: restarted
|
||||
|
||||
Reference in New Issue
Block a user