summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2015-12-10 11:19:08 -0500
committerBrenton Leanhardt <bleanhar@redhat.com>2015-12-10 11:19:08 -0500
commit493dba34b5100301366c550596be50e0b7d5a681 (patch)
treef1268ae38520ccbdaa9bdd7eed748b0eca6b8a0d
parentec7b8b68b6467e17487ec4c81fbe2c6826e3c889 (diff)
parentcb9100073eefa4a810d934cc8fc73e0f1027a8f3 (diff)
downloadopenshift-493dba34b5100301366c550596be50e0b7d5a681.tar.gz
openshift-493dba34b5100301366c550596be50e0b7d5a681.tar.bz2
openshift-493dba34b5100301366c550596be50e0b7d5a681.tar.xz
openshift-493dba34b5100301366c550596be50e0b7d5a681.zip
Merge pull request #1051 from abutcher/versions
Install base package in openshift_common for version facts
-rw-r--r--roles/openshift_common/tasks/main.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/openshift_common/tasks/main.yml b/roles/openshift_common/tasks/main.yml
index c0982290d..c17cb12cd 100644
--- a/roles/openshift_common/tasks/main.yml
+++ b/roles/openshift_common/tasks/main.yml
@@ -24,6 +24,12 @@
use_flannel: "{{ openshift_use_flannel | default(None) }}"
use_manageiq: "{{ openshift_use_manageiq | default(None) }}"
+- name: Install the base package for versioning
+ action: "{{ ansible_pkg_mgr }} name={{ openshift.common.service_type }}{{ openshift_version | default('') }} state=present"
+
+- name: Set version facts
+ openshift_facts:
+
# For enterprise versions < 3.1 and origin versions < 1.1 we want to set the
# hostname by default.
- set_fact: