From 3e91057689e5cf6d1b62b3ccb7fae399fda2cd5d Mon Sep 17 00:00:00 2001 From: Sandwich Date: Tue, 21 Jan 2025 21:35:47 +0100 Subject: [PATCH] Make sure the VM truly starts --- roles/cleanup/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/cleanup/tasks/main.yml b/roles/cleanup/tasks/main.yml index 85382c7..05fc319 100644 --- a/roles/cleanup/tasks/main.yml +++ b/roles/cleanup/tasks/main.yml @@ -69,7 +69,7 @@ validate_certs: false datacenter: "{{ hypervisor_cluster }}" name: "{{ hostname }}" - state: powered-on + state: restarted - name: Remove Archiso and cloud-init disks when: hypervisor == "libvirt"