Browse Source

Use openshift_release instead of ose_version

Tomas Sedovic 7 years ago
parent
commit
01fc87d824

+ 1 - 1
roles/rhel_subscribe/README.md

@@ -22,7 +22,7 @@ Name of the pool to attach (optional).
 
 Custom hostname for the Satellite server (optional).
 
-### `ose_version`
+### `openshift_release`
 
 Version for the OpenShift Enterprise repositories.
 

+ 0 - 1
roles/rhel_subscribe/defaults/main.yml

@@ -1,3 +1,2 @@
 ---
 rhsub_pool: 'Red Hat OpenShift Container Platform, Premium*'
-ose_version: '3.6'

+ 1 - 1
roles/rhel_subscribe/tasks/enterprise.yml

@@ -6,7 +6,7 @@
   command: subscription-manager repos \
                --enable="rhel-7-server-rpms" \
                --enable="rhel-7-server-extras-rpms" \
-               --enable="rhel-7-server-ose-{{ ose_version }}-rpms" \
+               --enable="rhel-7-server-ose-{{ openshift_release }}-rpms" \
                --enable="rhel-7-fast-datapath-rpms"
   register: subscribe_repos
   until: subscribe_repos | succeeded