From 356d0a7fe75675afae157cf18ab89f70e31ba2de Mon Sep 17 00:00:00 2001 From: Steve Milner Date: Mon, 13 Mar 2017 15:37:55 -0400 Subject: 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 - --- roles/openshift_version/tasks/main.yml | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'roles/openshift_version/tasks') 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 }}" -- cgit v1.2.3