summaryrefslogtreecommitdiffstats
path: root/roles/rhel_unsubscribe
diff options
context:
space:
mode:
Diffstat (limited to 'roles/rhel_unsubscribe')
-rw-r--r--roles/rhel_unsubscribe/tasks/main.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/rhel_unsubscribe/tasks/main.yml b/roles/rhel_unsubscribe/tasks/main.yml
new file mode 100644
index 000000000..2aeb09d83
--- /dev/null
+++ b/roles/rhel_unsubscribe/tasks/main.yml
@@ -0,0 +1,5 @@
+---
+- name: Remove RedHat subscriptions
+ redhat_subscription:
+ state: absent
+ when: ansible_distribution == "RedHat"