|
@@ -77,6 +77,24 @@
|
|
|
openshift_cloudprovider_vsphere_host is undefined or openshift_cloudprovider_vsphere_datacenter is undefined or
|
|
|
openshift_cloudprovider_vsphere_datastore is undefined )
|
|
|
|
|
|
+- name: Ensure azure configuration variables are defined
|
|
|
+ when: openshift_cloudprovider_kind | default('none') == 'azure'
|
|
|
+ block:
|
|
|
+ - name: ensure provider configuration variables are defined
|
|
|
+ fail:
|
|
|
+ msg: >
|
|
|
+ Required variable(s) for azure provider not defined. Refer to documentation
|
|
|
+ for more information on configuring for azure provider.
|
|
|
+
|
|
|
+ https://github.com/openshift/openshift-docs/blob/master/install_config/configuring_azure.adoc
|
|
|
+ when: >
|
|
|
+ openshift_cloudprovider_azure_client_id is not defined
|
|
|
+ or openshift_cloudprovider_azure_client_secret is not defined
|
|
|
+ or openshift_cloudprovider_azure_tenant_id is not defined
|
|
|
+ or openshift_cloudprovider_azure_subscription_id is not defined
|
|
|
+ or openshift_cloudprovider_azure_resource_group is not defined
|
|
|
+ or openshift_cloudprovider_azure_location is not defined
|
|
|
+
|
|
|
- name: Ensure removed web console extension variables are not set
|
|
|
fail:
|
|
|
msg: >
|