summaryrefslogtreecommitdiffstats
path: root/roles/openshift_facts
diff options
context:
space:
mode:
authorJose A. Rivera <jarrpa@redhat.com>2017-03-20 19:12:15 -0500
committerJose A. Rivera <jarrpa@redhat.com>2017-04-03 11:22:41 -0500
commit26389420421d7297c2e657d99469d94f0c05d163 (patch)
tree74fd6059f66ed5716e85bd1c78938a18bada98e6 /roles/openshift_facts
parent0bac74c346bb5c620bdf1941b40c29ff3083e2b0 (diff)
downloadopenshift-26389420421d7297c2e657d99469d94f0c05d163.tar.gz
openshift-26389420421d7297c2e657d99469d94f0c05d163.tar.bz2
openshift-26389420421d7297c2e657d99469d94f0c05d163.tar.xz
openshift-26389420421d7297c2e657d99469d94f0c05d163.zip
openshift_facts: Allow examples_content_version to be set to v1.6
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
Diffstat (limited to 'roles/openshift_facts')
-rwxr-xr-xroles/openshift_facts/library/openshift_facts.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/roles/openshift_facts/library/openshift_facts.py b/roles/openshift_facts/library/openshift_facts.py
index e1f4c4e6d..7edf141e5 100755
--- a/roles/openshift_facts/library/openshift_facts.py
+++ b/roles/openshift_facts/library/openshift_facts.py
@@ -936,7 +936,9 @@ def set_version_facts_if_unset(facts):
facts['common']['version_gte_3_5_or_1_5'] = version_gte_3_5_or_1_5
facts['common']['version_gte_3_6_or_1_6'] = version_gte_3_6_or_1_6
- if version_gte_3_5_or_1_5:
+ if version_gte_3_6_or_1_6:
+ examples_content_version = 'v1.6'
+ elif version_gte_3_5_or_1_5:
examples_content_version = 'v1.5'
elif version_gte_3_4_or_1_4:
examples_content_version = 'v1.4'