Introduce rhsm_release parameter
So we can configure a specific release when subscribing the node. It has been reported on https://bugzilla.redhat.com/show_bug.cgi?id=1839063 that setting a release was required to get rpms from rhel-8-for-x86_64-baseos-eus-rpms repository when installing OpenStack on RHEL8. Change-Id: I30d93806a7305e101c25507fb87bd02af62b61a5
This commit is contained in:
parent
fbfb0909cd
commit
5f65ba4a3a
|
@ -20,6 +20,7 @@ Role Variables
|
||||||
| `rhsm_username` | `[undefined]` | Red Hat Portal username. |
|
| `rhsm_username` | `[undefined]` | Red Hat Portal username. |
|
||||||
| `rhsm_password` | `[undefined]` | Red Hat Portal password. |
|
| `rhsm_password` | `[undefined]` | Red Hat Portal password. |
|
||||||
| `rhsm_activation_key` | `[undefined]` | Red Hat Portal Activation Key. |
|
| `rhsm_activation_key` | `[undefined]` | Red Hat Portal Activation Key. |
|
||||||
|
| `rhsm_release` | `[undefined]` | RHEL release version (e.g. 8.1). |
|
||||||
| `rhsm_org_id` | `[undefined]` | Red Hat Portal Organization Identifier. |
|
| `rhsm_org_id` | `[undefined]` | Red Hat Portal Organization Identifier. |
|
||||||
| `rhsm_pool_ids` | `[undefined]` | Red Hat Subscription pool IDs to consume. |
|
| `rhsm_pool_ids` | `[undefined]` | Red Hat Subscription pool IDs to consume. |
|
||||||
| `rhsm_state` | `present` | Whether to enable or disable a Red Hat subscription. |
|
| `rhsm_state` | `present` | Whether to enable or disable a Red Hat subscription. |
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
# rhsm_username: joe
|
# rhsm_username: joe
|
||||||
# rhsm_password: secrete
|
# rhsm_password: secrete
|
||||||
# rhsm_activation_key: AAA-BBB-CCC-DDD
|
# rhsm_activation_key: AAA-BBB-CCC-DDD
|
||||||
|
# rhsm_release: 8.1
|
||||||
# rhsm_ord_id: 1234
|
# rhsm_ord_id: 1234
|
||||||
# rhsm_autosubscribe: yes # or no (note it's mutually exclusive to rhsm_activation_key)
|
# rhsm_autosubscribe: yes # or no (note it's mutually exclusive to rhsm_activation_key)
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
username: "{{ rhsm_username | default(omit) }}"
|
username: "{{ rhsm_username | default(omit) }}"
|
||||||
password: "{{ rhsm_password | default(omit) }}"
|
password: "{{ rhsm_password | default(omit) }}"
|
||||||
activationkey: "{{ rhsm_activation_key | default(omit) }}"
|
activationkey: "{{ rhsm_activation_key | default(omit) }}"
|
||||||
|
release: "{{ rhsm_release | default(omit) }}"
|
||||||
org_id: "{{ rhsm_org_id | default(omit) }}"
|
org_id: "{{ rhsm_org_id | default(omit) }}"
|
||||||
pool_ids: "{{ rhsm_pool_ids | default(omit) }}"
|
pool_ids: "{{ rhsm_pool_ids | default(omit) }}"
|
||||||
state: "{{ rhsm_state | default(omit) }}"
|
state: "{{ rhsm_state | default(omit) }}"
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
password: "{{ rhsm_password | default(omit) }}"
|
password: "{{ rhsm_password | default(omit) }}"
|
||||||
activationkey: "{{ rhsm_activation_key | default(omit) }}"
|
activationkey: "{{ rhsm_activation_key | default(omit) }}"
|
||||||
org_id: "{{ rhsm_org_id | default(omit) }}"
|
org_id: "{{ rhsm_org_id | default(omit) }}"
|
||||||
|
release: "{{ rhsm_release | default(omit) }}"
|
||||||
pool_ids: "{{ rhsm_pool_ids | default(omit) }}"
|
pool_ids: "{{ rhsm_pool_ids | default(omit) }}"
|
||||||
state: "{{ rhsm_state | default(omit) }}"
|
state: "{{ rhsm_state | default(omit) }}"
|
||||||
autosubscribe: "{{ rhsm_autosubscribe | default(omit) }}"
|
autosubscribe: "{{ rhsm_autosubscribe | default(omit) }}"
|
||||||
|
|
Loading…
Reference in New Issue