summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-05-09 16:38:35 -0400
committerScott Dodson <sdodson@redhat.com>2016-05-09 16:38:35 -0400
commita25cca7491f8b9d4deb3ebb5d0fefbabedb4526c (patch)
tree9ad31247af8cf0aa341816cb2eb086ce5691b31a /roles
parenta9bf2540412983ff65ea376eb2ed0675536dd102 (diff)
downloadopenshift-a25cca7491f8b9d4deb3ebb5d0fefbabedb4526c.tar.gz
openshift-a25cca7491f8b9d4deb3ebb5d0fefbabedb4526c.tar.bz2
openshift-a25cca7491f8b9d4deb3ebb5d0fefbabedb4526c.tar.xz
openshift-a25cca7491f8b9d4deb3ebb5d0fefbabedb4526c.zip
Fix version
Diffstat (limited to 'roles')
-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