Skip to content

Commit

Permalink
Merge pull request #3950 from lhuard1A/enterprise_ose_3.5
Browse files Browse the repository at this point in the history
Merged by openshift-bot
  • Loading branch information
OpenShift Bot authored Apr 26, 2017
2 parents 9fa4e1c + 53d9cf3 commit 760bdbc
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions roles/rhel_subscribe/tasks/enterprise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
when: deployment_type == 'enterprise'

- set_fact:
default_ose_version: '3.4'
default_ose_version: '3.5'
when: deployment_type in ['atomic-enterprise', 'openshift-enterprise']

- set_fact:
Expand All @@ -16,10 +16,13 @@
- fail:
msg: "{{ ose_version }} is not a valid version for {{ deployment_type }} deployment type"
when: ( deployment_type == 'enterprise' and ose_version not in ['3.0'] ) or
( deployment_type in ['atomic-enterprise', 'openshift-enterprise'] and ose_version not in ['3.1', '3.2', '3.3', '3.4'] )
( deployment_type in ['atomic-enterprise', 'openshift-enterprise'] and ose_version not in ['3.1', '3.2', '3.3', '3.4', '3.5'] )

- name: Enable RHEL repositories
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-{{ ose_version }}-rpms" \
--enable="rhel-7-fast-datapath-rpms"
register: subscribe_repos
until: subscribe_repos | succeeded

0 comments on commit 760bdbc

Please sign in to comment.