Browse Source

Fix version

Scott Dodson 9 years ago
parent
commit
a25cca7491
1 changed files with 1 additions and 1 deletions
  1. 1 1
      roles/openshift_docker/tasks/main.yml

+ 1 - 1
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