added azure_cloud parameter to Azure's cloud_config (#6321)

This commit is contained in:
Mike Dziedziela
2020-06-25 23:35:30 +02:00
committed by GitHub
parent 93cbcb61b8
commit 8ca2a9a7d5
5 changed files with 16 additions and 0 deletions

View File

@@ -75,3 +75,8 @@
fail:
msg: "azure_vmtype is missing. Supported values are 'standard' or 'vmss'"
when: azure_vmtype is not defined or not azure_vmtype
- name: check azure_cloud value
fail:
msg: "azure_cloud has an invalid value '{{ azure_cloud }}'. Supported values are 'AzureChinaCloud', 'AzureGermanCloud', 'AzurePublicCloud', 'AzureUSGovernmentCloud'."
when: azure_cloud not in ["AzureChinaCloud", "AzureGermanCloud", "AzurePublicCloud", "AzureUSGovernmentCloud"]