summaryrefslogtreecommitdiff
path: root/roles/vm/guest/remove/tasks
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2023-09-02 17:45:39 +0200
committerChristian Pointner <equinox@spreadspace.org>2023-09-02 17:45:39 +0200
commitf35504ae9e42f01b0e57dc4bffadfa2adc5184bd (patch)
tree24c8b7aa1bbb09bfac2a66ab1670817c325aec07 /roles/vm/guest/remove/tasks
parentadd ele-testvm (diff)
vm/guest: add support for UEFI booted guests
Diffstat (limited to 'roles/vm/guest/remove/tasks')
-rw-r--r--roles/vm/guest/remove/tasks/main.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/vm/guest/remove/tasks/main.yml b/roles/vm/guest/remove/tasks/main.yml
index 3a677f92..c0fb66d0 100644
--- a/roles/vm/guest/remove/tasks/main.yml
+++ b/roles/vm/guest/remove/tasks/main.yml
@@ -22,6 +22,7 @@
timeout: 5
- name: undefining exisiting vm
- virt:
+ virt_with_undefineflags: ## TODO: switch back to virt once this lands: https://github.com/ansible-collections/community.libvirt/pull/136
name: "{{ inventory_hostname }}"
command: undefine
+ flags: "{{ vm_remove_undefine_flags | default(omit) }}"