summaryrefslogtreecommitdiffstats
path: root/roles/openshift_version/tasks
diff options
context:
space:
mode:
authorSteve Milner <smilner@redhat.com>2017-03-13 15:37:55 -0400
committerSteve Milner <smilner@redhat.com>2017-04-03 09:27:57 -0400
commit356d0a7fe75675afae157cf18ab89f70e31ba2de (patch)
treec4f51b6f0cfdebd87b59833b97db048e9dc890a6 /roles/openshift_version/tasks
parent20d205de5b62ea400dfe738ea3fd5ade3fac5ef0 (diff)
downloadopenshift-356d0a7fe75675afae157cf18ab89f70e31ba2de.tar.gz
openshift-356d0a7fe75675afae157cf18ab89f70e31ba2de.tar.bz2
openshift-356d0a7fe75675afae157cf18ab89f70e31ba2de.tar.xz
openshift-356d0a7fe75675afae157cf18ab89f70e31ba2de.zip
openshift_version now requires prepended version formats
- openshift_image_tag must start with a v unless it's set to latest - openshift_pkg_version must start with a -
Diffstat (limited to 'roles/openshift_version/tasks')
-rw-r--r--roles/openshift_version/tasks/main.yml14
1 files changed, 0 insertions, 14 deletions
diff --git a/roles/openshift_version/tasks/main.yml b/roles/openshift_version/tasks/main.yml
index 9780fd746..4603c5e54 100644
--- a/roles/openshift_version/tasks/main.yml
+++ b/roles/openshift_version/tasks/main.yml
@@ -57,20 +57,6 @@
- openshift_image_tag is defined
- openshift_image_tag != "latest"
-# Add a v to the start of the openshift_image_tag if one was not provided
-- set_fact:
- openshift_image_tag: "{{ 'v' + openshift_image_tag }}"
- when:
- - openshift_image_tag is defined
- - openshift_image_tag[0] != 'v'
- - openshift_image_tag != 'latest'
-
-- set_fact:
- openshift_pkg_version: "{{ '-' + openshift_pkg_version }}"
- when:
- - openshift_pkg_version is defined
- - openshift_pkg_version[0] != '-'
-
# Make sure we copy this to a fact if given a var:
- set_fact:
openshift_version: "{{ openshift_version | string }}"