Merge "Allow rhsm subscription test to be overrided in RHOSP deployment."
This commit is contained in:
commit
65eafe7cb6
|
@ -19,6 +19,6 @@
|
||||||
|
|
||||||
# All variables within this role should have a prefix of "tripleo_redhat_enforce"
|
# All variables within this role should have a prefix of "tripleo_redhat_enforce"
|
||||||
tripleo_redhat_enforce_debug: "{{ (ansible_verbosity | int) >= 2 | bool }}"
|
tripleo_redhat_enforce_debug: "{{ (ansible_verbosity | int) >= 2 | bool }}"
|
||||||
tripleo_redhat_enforce: false
|
tripleo_redhat_enforce: true
|
||||||
tripleo_redhat_enforce_osp: ''
|
tripleo_redhat_enforce_osp: ''
|
||||||
tripleo_redhat_enforce_os: ''
|
tripleo_redhat_enforce_os: ''
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.0/html-single/
|
https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.0/html-single/
|
||||||
director_installation_and_usage/index#configuring-the-undercloud-with-environment-files,
|
director_installation_and_usage/index#configuring-the-undercloud-with-environment-files,
|
||||||
for the Overcloud you need to add a new parameter file to your deploy
|
for the Overcloud you need to add a new parameter file to your deploy
|
||||||
command with that parameter set.
|
command with that parameter set. You can also disable it in the role, see rhsm_enforce role parameter.
|
||||||
If this is unexpected, you have to subscribe this node and
|
If this is unexpected, you have to subscribe this node and
|
||||||
ensure that RHEL is pinned to {{ tripleo_redhat_enforce_os }} as
|
ensure that RHEL is pinned to {{ tripleo_redhat_enforce_os }} as
|
||||||
this is the only version supported for {{ tripleo_redhat_enforce_osp }}.
|
this is the only version supported for {{ tripleo_redhat_enforce_osp }}.
|
||||||
|
@ -41,5 +41,6 @@
|
||||||
OSP{{ tripleo_redhat_enforce_osp }} is only supported with Red Hat {{ tripleo_redhat_enforce_os }}.
|
OSP{{ tripleo_redhat_enforce_osp }} is only supported with Red Hat {{ tripleo_redhat_enforce_os }}.
|
||||||
Please make sure to pin rhel to {{ tripleo_redhat_enforce_os }} using:
|
Please make sure to pin rhel to {{ tripleo_redhat_enforce_os }} using:
|
||||||
subscription-manager release --set={{ tripleo_redhat_enforce_os }}.
|
subscription-manager release --set={{ tripleo_redhat_enforce_os }}.
|
||||||
You can then proceed with the update.
|
You can then proceed with the update. You can also disable it in the
|
||||||
|
role, see rhsm_enforce role parameter, if this is expected.
|
||||||
when: tripleo_redhat_enforce_os not in subscribed_release.stdout
|
when: tripleo_redhat_enforce_os not in subscribed_release.stdout
|
||||||
|
|
|
@ -33,4 +33,6 @@
|
||||||
|
|
||||||
- include_tasks: enforce_release.yml
|
- include_tasks: enforce_release.yml
|
||||||
name: Enforce RHEL/OSP version pair
|
name: Enforce RHEL/OSP version pair
|
||||||
when: tripleo_redhat_enforce|bool
|
when:
|
||||||
|
- (ansible_distribution | lower) == "redhat"
|
||||||
|
- tripleo_redhat_enforce|bool
|
||||||
|
|
|
@ -18,6 +18,5 @@
|
||||||
# All variables intended for modification should be placed in this file.
|
# All variables intended for modification should be placed in this file.
|
||||||
|
|
||||||
# All variables within this role should have a prefix of "tripleo_redhat_enforce"
|
# All variables within this role should have a prefix of "tripleo_redhat_enforce"
|
||||||
tripleo_redhat_enforce: true
|
|
||||||
tripleo_redhat_enforce_osp: ''
|
tripleo_redhat_enforce_osp: ''
|
||||||
tripleo_redhat_enforce_os: ''
|
tripleo_redhat_enforce_os: ''
|
||||||
|
|
Loading…
Reference in New Issue