From 186782e353928eba6374d688dc5b50278af00629 Mon Sep 17 00:00:00 2001 From: Jan Chaloupka Date: Fri, 28 Jul 2017 14:38:41 +0200 Subject: Set the openshift_version from the openshift.common.version in case it is empty It can happen the openshift_version is set to an empty string. Which results in openshift_pkg_version set to "-". Thus, failing installation of base and excluder packages. For more info see https://bugzilla.redhat.com/show_bug.cgi?id=1474871 --- roles/openshift_version/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/openshift_version/tasks/main.yml b/roles/openshift_version/tasks/main.yml index f4cb8ddb2..a6b8a40c8 100644 --- a/roles/openshift_version/tasks/main.yml +++ b/roles/openshift_version/tasks/main.yml @@ -81,7 +81,7 @@ openshift_version: "{{ openshift.common.version }}" when: - openshift.common.version is defined - - openshift_version is not defined + - openshift_version is not defined or openshift_version == "" - openshift_protect_installed_version | bool # The rest of these tasks should only execute on -- cgit v1.2.3