浏览代码

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
Jan Chaloupka 7 年之前
父节点
当前提交
186782e353
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      roles/openshift_version/tasks/main.yml

+ 1 - 1
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