aboutsummaryrefslogtreecommitdiff
path: root/roles/libvirt/tasks/vm-undefine.yml
diff options
context:
space:
mode:
authorspmfox <spmfox@foxwd.com>2025-04-16 10:54:38 -0400
committerspmfox <spmfox@foxwd.com>2025-04-16 10:54:38 -0400
commite4720069560e39db235e122146f7c22349467721 (patch)
tree5f483c41609fe20bf78fd6f8ecd13478064402dd /roles/libvirt/tasks/vm-undefine.yml
parent7108bb34367af727413597863cd8b0905f6fb096 (diff)
libvirt - adding force to undefine so that VMs with snapshots dont fail
Diffstat (limited to 'roles/libvirt/tasks/vm-undefine.yml')
-rw-r--r--roles/libvirt/tasks/vm-undefine.yml1
1 files changed, 1 insertions, 0 deletions
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