aboutsummaryrefslogtreecommitdiff
path: root/vm-delete.yml
diff options
context:
space:
mode:
Diffstat (limited to 'vm-delete.yml')
-rw-r--r--vm-delete.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/vm-delete.yml b/vm-delete.yml
index a76e73f..45f719e 100644
--- a/vm-delete.yml
+++ b/vm-delete.yml
@@ -39,6 +39,14 @@
delegate_to: "{{ hypervisor_host }}"
tags: zfs
+ - name: Import guest-configure role for undo
+ ansible.builtin.include_role:
+ name: guest-configure
+ tasks_from: undo.yml
+ apply:
+ tags: guest-configure
+ tags: guest-configure
+
- name: Import libvirt role to undefine VM
ansible.builtin.include_role:
name: libvirt