fix(cleanup): force-stop then start the proxmox VM after install

This commit is contained in:
2026-05-29 22:40:02 +02:00
parent 6a75237197
commit 8f9cfe3b2f

View File

@@ -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