summaryrefslogtreecommitdiffstats
path: root/roles/openshift_version
diff options
context:
space:
mode:
authorSeth Jennings <sjenning@redhat.com>2016-11-29 14:12:04 -0600
committerSeth Jennings <sjenning@redhat.com>2016-11-29 14:12:04 -0600
commit5616098e8fa04ff5a2aeed892aec25d2979ac227 (patch)
tree9def0e80f694025be7b9f7f5d7bbf61da42f8915 /roles/openshift_version
parent7dab56735962e1c83a2d16cec9e0966efa3b061e (diff)
downloadopenshift-5616098e8fa04ff5a2aeed892aec25d2979ac227.tar.gz
openshift-5616098e8fa04ff5a2aeed892aec25d2979ac227.tar.bz2
openshift-5616098e8fa04ff5a2aeed892aec25d2979ac227.tar.xz
openshift-5616098e8fa04ff5a2aeed892aec25d2979ac227.zip
allow 'latest' origin_image_tag
Diffstat (limited to 'roles/openshift_version')
-rw-r--r--roles/openshift_version/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_version/tasks/main.yml b/roles/openshift_version/tasks/main.yml
index a3a99d248..0f2a660a7 100644
--- a/roles/openshift_version/tasks/main.yml
+++ b/roles/openshift_version/tasks/main.yml
@@ -22,7 +22,7 @@
- set_fact:
openshift_image_tag: "{{ 'v' + openshift_image_tag }}"
- when: openshift_image_tag is defined and openshift_image_tag[0] != 'v'
+ when: openshift_image_tag is defined and openshift_image_tag[0] != 'v' and openshift_image_tag != 'latest'
- set_fact:
openshift_pkg_version: "{{ '-' + openshift_pkg_version }}"