aboutsummaryrefslogtreecommitdiff
path: root/vm-delete.yml
diff options
context:
space:
mode:
authorspmfox <spmfox@foxwd.com>2023-06-25 11:59:56 -0400
committerspmfox <spmfox@foxwd.com>2023-06-25 11:59:56 -0400
commit5863584610d0b43da0aca4bd7c92443a7ed3872f (patch)
treebd1075efc3aee056cfe729ee9270b0965c36fe1f /vm-delete.yml
parent16847ba6cf3d1dcbd80823c2cfa66c19013f65b0 (diff)
adding support for red hat subscription manager, more robust package install, guest unconfiguration
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