aboutsummaryrefslogtreecommitdiff
path: root/roles/guest-configure/tasks/undo.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 /roles/guest-configure/tasks/undo.yml
parent16847ba6cf3d1dcbd80823c2cfa66c19013f65b0 (diff)
adding support for red hat subscription manager, more robust package install, guest unconfiguration
Diffstat (limited to 'roles/guest-configure/tasks/undo.yml')
-rw-r--r--roles/guest-configure/tasks/undo.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/guest-configure/tasks/undo.yml b/roles/guest-configure/tasks/undo.yml
new file mode 100644
index 0000000..22889f1
--- /dev/null
+++ b/roles/guest-configure/tasks/undo.yml
@@ -0,0 +1,3 @@
+- name: Import Red Hat Subscription Manager unregister task
+ ansible.builtin.import_tasks: rhsm-unregister.yml
+ when: (guest_configure_rhsm_username | length > 0) and (guest_configure_rhsm_password | length > 0)