summaryrefslogtreecommitdiffstats
path: root/roles/openshift_version
diff options
context:
space:
mode:
authorOpenShift Bot <eparis+openshiftbot@redhat.com>2017-09-07 10:57:28 -0400
committerGitHub <noreply@github.com>2017-09-07 10:57:28 -0400
commit6da235f41a31776b1bc253a34dc14a30307e331e (patch)
treebda2cc62691a59fb6ac6ed4978fa7f15ec046121 /roles/openshift_version
parentaad4ccce7ce6641d3c720507568f6da779a66995 (diff)
parent8bf97723ceaca02fe12b86466f8383aa211ead5e (diff)
downloadopenshift-6da235f41a31776b1bc253a34dc14a30307e331e.tar.gz
openshift-6da235f41a31776b1bc253a34dc14a30307e331e.tar.bz2
openshift-6da235f41a31776b1bc253a34dc14a30307e331e.tar.xz
openshift-6da235f41a31776b1bc253a34dc14a30307e331e.zip
Merge pull request #5208 from mgugino-upstream-stage/remove-openshift_common
Merged by openshift-bot
Diffstat (limited to 'roles/openshift_version')
-rw-r--r--roles/openshift_version/tasks/main.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/openshift_version/tasks/main.yml b/roles/openshift_version/tasks/main.yml
index c0ea00f34..204abe27e 100644
--- a/roles/openshift_version/tasks/main.yml
+++ b/roles/openshift_version/tasks/main.yml
@@ -5,6 +5,12 @@
is_containerized: "{{ openshift.common.is_containerized | default(False) | bool }}"
is_atomic: "{{ openshift.common.is_atomic | default(False) | bool }}"
+- name: Install the base package for versioning
+ package:
+ name: "{{ openshift.common.service_type }}{{ openshift_pkg_version | default('') | oo_image_tag_to_rpm_version(include_dash=True) }}"
+ state: present
+ when: not is_containerized | bool
+
# Block attempts to install origin without specifying some kind of version information.
# This is because the latest tags for origin are usually alpha builds, which should not
# be used by default. Users must indicate what they want.