From 30743eeb3ab79cb2dfa408bde2d65c5b6f57af4e Mon Sep 17 00:00:00 2001 From: Scott Dodson Date: Thu, 1 Feb 2018 15:18:36 -0500 Subject: Fix vsphere sanitization --- roles/openshift_sanitize_inventory/tasks/main.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'roles') diff --git a/roles/openshift_sanitize_inventory/tasks/main.yml b/roles/openshift_sanitize_inventory/tasks/main.yml index feb5de668..08dfd8284 100644 --- a/roles/openshift_sanitize_inventory/tasks/main.yml +++ b/roles/openshift_sanitize_inventory/tasks/main.yml @@ -68,10 +68,10 @@ When the vSphere cloud provider is configured you must define all of these variables: openshift_cloudprovider_vsphere_username, openshift_cloudprovider_vsphere_password, openshift_cloudprovider_vsphere_host, openshift_cloudprovider_vsphere_datacenter, - openshift_cloudprovider_vsphere_datastore, openshift_cloudprovider_vsphere_folder - when: - - openshift_cloudprovider_kind is defined - - openshift_cloudprovider_kind == 'vsphere' - - ( openshift_cloudprovider_vsphere_username is undefined or openshift_cloudprovider_vsphere_password is undefined or - openshift_cloudprovider_vsphere_host is undefined or openshift_cloudprovider_vsphere_datacenter is undefined or - openshift_cloudprovider_vsphere_datastore is undefined or openshift_cloudprovider_vsphere_folder ) + openshift_cloudprovider_vsphere_datastore + when: + - openshift_cloudprovider_kind is defined + - openshift_cloudprovider_kind == 'vsphere' + - ( openshift_cloudprovider_vsphere_username is undefined or openshift_cloudprovider_vsphere_password is undefined or + openshift_cloudprovider_vsphere_host is undefined or openshift_cloudprovider_vsphere_datacenter is undefined or + openshift_cloudprovider_vsphere_datastore is undefined ) -- cgit v1.2.3