summaryrefslogtreecommitdiffstats
path: root/roles/openshift_common
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2015-12-10 10:38:49 -0500
committerAndrew Butcher <abutcher@redhat.com>2015-12-10 10:38:49 -0500
commitcb9100073eefa4a810d934cc8fc73e0f1027a8f3 (patch)
treef1268ae38520ccbdaa9bdd7eed748b0eca6b8a0d /roles/openshift_common
parentec7b8b68b6467e17487ec4c81fbe2c6826e3c889 (diff)
downloadopenshift-cb9100073eefa4a810d934cc8fc73e0f1027a8f3.tar.gz
openshift-cb9100073eefa4a810d934cc8fc73e0f1027a8f3.tar.bz2
openshift-cb9100073eefa4a810d934cc8fc73e0f1027a8f3.tar.xz
openshift-cb9100073eefa4a810d934cc8fc73e0f1027a8f3.zip
Install base package in openshift_common for version facts
Diffstat (limited to 'roles/openshift_common')
-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: