Merge "add support for unregistration"
This commit is contained in:
commit
5f8dd387a9
@ -22,3 +22,4 @@
|
||||
- rhsm_register
|
||||
- rhsm_repos
|
||||
- rhsm_satellite
|
||||
- rhsm_unregister
|
||||
|
12
tasks/unregister.yml
Normal file
12
tasks/unregister.yml
Normal file
@ -0,0 +1,12 @@
|
||||
- name: Unregister Red Hat subscription
|
||||
redhat_subscription:
|
||||
username: "{{ rhsm_username | default(omit) }}"
|
||||
password: "{{ rhsm_password | default(omit) }}"
|
||||
activationkey: "{{ rhsm_activation_key | default(omit) }}"
|
||||
org_id: "{{ rhsm_org_id | default(omit) }}"
|
||||
pool_ids: "{{ rhsm_pool_ids | default(omit) }}"
|
||||
state: "absent"
|
||||
rhsm_baseurl: "{{ rhsm_baseurl | default(omit) }}"
|
||||
register: subscrition_result
|
||||
tags:
|
||||
- rhsm_unregister
|
Loading…
Reference in New Issue
Block a user