From f35504ae9e42f01b0e57dc4bffadfa2adc5184bd Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 2 Sep 2023 17:45:39 +0200 Subject: vm/guest: add support for UEFI booted guests --- roles/vm/guest/remove/tasks/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'roles/vm/guest/remove/tasks') 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) }}" -- cgit v1.2.3