aboutsummaryrefslogtreecommitdiff
path: root/roles/guest-configure/tasks/undo.yml
diff options
context:
space:
mode:
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)