fix(cleanup): force-stop then start the proxmox VM after install
This commit is contained in:
@@ -21,8 +21,15 @@
|
|||||||
failed_when: false
|
failed_when: false
|
||||||
no_log: true
|
no_log: true
|
||||||
|
|
||||||
- name: Start the VM
|
- name: Ensure the installer environment is powered off
|
||||||
community.proxmox.proxmox_kvm:
|
community.proxmox.proxmox_kvm:
|
||||||
vmid: "{{ system_cfg.id }}"
|
vmid: "{{ system_cfg.id }}"
|
||||||
state: restarted
|
state: stopped
|
||||||
|
force: true
|
||||||
|
no_log: true
|
||||||
|
|
||||||
|
- name: Boot the installed OS
|
||||||
|
community.proxmox.proxmox_kvm:
|
||||||
|
vmid: "{{ system_cfg.id }}"
|
||||||
|
state: started
|
||||||
no_log: true
|
no_log: true
|
||||||
|
|||||||
Reference in New Issue
Block a user