summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason DeTiberus <detiber@gmail.com>2016-05-12 08:32:58 -0400
committerJason DeTiberus <detiber@gmail.com>2016-05-12 08:32:58 -0400
commit596962b35578e7c34a3a194d6960d14808314c1f (patch)
tree32148c5b724830f9354f5d59db2a50961e58cf59
parent45e5e99b1d8d155a9680f1ac00ac5fb8cfab8bec (diff)
parenta25cca7491f8b9d4deb3ebb5d0fefbabedb4526c (diff)
downloadopenshift-596962b35578e7c34a3a194d6960d14808314c1f.tar.gz
openshift-596962b35578e7c34a3a194d6960d14808314c1f.tar.bz2
openshift-596962b35578e7c34a3a194d6960d14808314c1f.tar.xz
openshift-596962b35578e7c34a3a194d6960d14808314c1f.zip
Merge pull request #1871 from sdodson/fix-version
Fix version fact on containerized installs
-rw-r--r--roles/openshift_docker/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_docker/tasks/main.yml b/roles/openshift_docker/tasks/main.yml
index 10f47f9b2..4e5cec82f 100644
--- a/roles/openshift_docker/tasks/main.yml
+++ b/roles/openshift_docker/tasks/main.yml
@@ -25,5 +25,5 @@
- role: docker
local_facts:
openshift_image_tag: "{{ l_image_tag | default(None) }}"
- openshift_version: "{{ l_image_tag.split('-')[0] if l_image_tag is defined else '' | oo_image_tag_to_rpm_version }}"
+ openshift_version: "{{ l_image_tag.split('-')[0] | oo_image_tag_to_rpm_version if l_image_tag is defined else '' }}"
when: openshift.common.is_containerized is defined and openshift.common.is_containerized | bool