summaryrefslogtreecommitdiffstats
path: root/roles/openshift_version
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-11-29 17:45:15 -0500
committerGitHub <noreply@github.com>2016-11-29 17:45:15 -0500
commit4ff3ae5f8e99145a06a0cc9976ec07c008831b65 (patch)
tree27eda382a3c79184ea9304e6d950a3be744274af /roles/openshift_version
parent6d2a27240b982822657e6ee463e2e66ce8a3a770 (diff)
parent5616098e8fa04ff5a2aeed892aec25d2979ac227 (diff)
downloadopenshift-4ff3ae5f8e99145a06a0cc9976ec07c008831b65.tar.gz
openshift-4ff3ae5f8e99145a06a0cc9976ec07c008831b65.tar.bz2
openshift-4ff3ae5f8e99145a06a0cc9976ec07c008831b65.tar.xz
openshift-4ff3ae5f8e99145a06a0cc9976ec07c008831b65.zip
Merge pull request #2882 from sjenning/allow-latest-image-tag
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 }}"