From e4720069560e39db235e122146f7c22349467721 Mon Sep 17 00:00:00 2001 From: spmfox Date: Wed, 16 Apr 2025 10:54:38 -0400 Subject: libvirt - adding force to undefine so that VMs with snapshots dont fail --- roles/libvirt/tasks/vm-undefine.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/libvirt/tasks/vm-undefine.yml b/roles/libvirt/tasks/vm-undefine.yml index a43b12b..eece1fc 100644 --- a/roles/libvirt/tasks/vm-undefine.yml +++ b/roles/libvirt/tasks/vm-undefine.yml @@ -7,3 +7,4 @@ community.libvirt.virt: name: "{{ libvirt_vm_name }}" command: undefine + force: true -- cgit