summaryrefslogtreecommitdiffstats
path: root/roles/openshift_examples/defaults
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2015-11-17 16:45:24 -0500
committerScott Dodson <sdodson@redhat.com>2015-11-18 15:34:32 -0500
commitcef52c3a1aabb10be8c1d4b81f37464982832105 (patch)
tree82849868e3975385e118aeb9099fb362f37ba236 /roles/openshift_examples/defaults
parent544633e687e4d51c169eca435f7f356aad78bacf (diff)
downloadopenshift-cef52c3a1aabb10be8c1d4b81f37464982832105.tar.gz
openshift-cef52c3a1aabb10be8c1d4b81f37464982832105.tar.bz2
openshift-cef52c3a1aabb10be8c1d4b81f37464982832105.tar.xz
openshift-cef52c3a1aabb10be8c1d4b81f37464982832105.zip
Install version dependent image streams for v1.0 and v1.1
Diffstat (limited to 'roles/openshift_examples/defaults')
-rw-r--r--roles/openshift_examples/defaults/main.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/roles/openshift_examples/defaults/main.yml b/roles/openshift_examples/defaults/main.yml
index 8e8bc6868..0bc5d7750 100644
--- a/roles/openshift_examples/defaults/main.yml
+++ b/roles/openshift_examples/defaults/main.yml
@@ -6,7 +6,9 @@ openshift_examples_load_db_templates: true
openshift_examples_load_xpaas: "{{ openshift_deployment_type in ['enterprise','openshift-enterprise','atomic-enterprise','online'] }}"
openshift_examples_load_quickstarts: true
-examples_base: /usr/share/openshift/examples
+content_version: "{{ 'v1.1' if openshift.common.version_greater_than_3_1_or_1_1 else 'v1.0' }}"
+
+examples_base: "/usr/share/openshift/examples"
image_streams_base: "{{ examples_base }}/image-streams"
centos_image_streams: "{{ image_streams_base}}/image-streams-centos7.json"
rhel_image_streams: "{{ image_streams_base}}/image-streams-rhel7.json"