|
@@ -263,14 +263,16 @@
|
|
|
name: openshift_cloud_provider
|
|
|
tasks_from: vsphere-svc
|
|
|
when:
|
|
|
- - openshift_cloudprovider_kind in 'vsphere'
|
|
|
+ - openshift_cloudprovider_kind is defined
|
|
|
+ - openshift_cloudprovider_kind == 'vsphere'
|
|
|
- openshift_version | version_compare('3.9', '>=')
|
|
|
- inventory_hostname == openshift_master_hosts[0]
|
|
|
|
|
|
- name: update vsphere provider master config
|
|
|
include_tasks: update-vsphere.yml
|
|
|
when:
|
|
|
- - openshift_cloudprovider_kind in 'vsphere'
|
|
|
+ - openshift_cloudprovider_kind is defined
|
|
|
+ - openshift_cloudprovider_kind == 'vsphere'
|
|
|
- openshift_version | version_compare('3.9', '>=')
|
|
|
|
|
|
- name: Dump logs from master-controllers if it failed
|