2016-11-29 17:20:28 +08:00
|
|
|
{
|
2020-07-03 14:38:47 +08:00
|
|
|
"cloud": "{{ azure_cloud }}",
|
2016-11-29 17:20:28 +08:00
|
|
|
"tenantId": "{{ azure_tenant_id }}",
|
|
|
|
"subscriptionId": "{{ azure_subscription_id }}",
|
|
|
|
"aadClientId": "{{ azure_aad_client_id }}",
|
|
|
|
"aadClientSecret": "{{ azure_aad_client_secret }}",
|
|
|
|
"resourceGroup": "{{ azure_resource_group }}",
|
|
|
|
"location": "{{ azure_location }}",
|
|
|
|
"subnetName": "{{ azure_subnet_name }}",
|
|
|
|
"securityGroupName": "{{ azure_security_group_name }}",
|
2021-01-26 23:24:35 +08:00
|
|
|
"securityGroupResourceGroup": "{{ azure_security_group_resource_group | default(azure_vnet_resource_group) }}",
|
2016-11-29 17:20:28 +08:00
|
|
|
"vnetName": "{{ azure_vnet_name }}",
|
2018-03-02 00:41:19 +08:00
|
|
|
"vnetResourceGroup": "{{ azure_vnet_resource_group }}",
|
2019-04-24 17:14:01 +08:00
|
|
|
"routeTableName": "{{ azure_route_table_name }}",
|
2021-01-26 23:24:35 +08:00
|
|
|
"routeTableResourceGroup": "{{ azure_route_table_resource_group | default(azure_vnet_resource_group) }}",
|
2020-04-01 01:12:40 +08:00
|
|
|
"vmType": "{{ azure_vmtype }}",
|
2019-04-24 17:14:01 +08:00
|
|
|
{% if azure_primary_availability_set_name is defined %}
|
|
|
|
"primaryAvailabilitySetName": "{{ azure_primary_availability_set_name }}",
|
|
|
|
{%endif%}
|
2021-01-26 23:24:35 +08:00
|
|
|
"useInstanceMetadata": {{azure_use_instance_metadata | lower }},
|
2019-04-24 17:14:01 +08:00
|
|
|
{% if azure_loadbalancer_sku == "standard" %}
|
2021-01-26 23:24:35 +08:00
|
|
|
"excludeMasterFromStandardLB": {{ azure_exclude_master_from_standard_lb | lower }},
|
|
|
|
"disableOutboundSNAT": {{ azure_disable_outbound_snat | lower }},
|
2019-04-24 17:14:01 +08:00
|
|
|
{% endif%}
|
|
|
|
"loadBalancerSku": "{{ azure_loadbalancer_sku }}"
|
2018-03-02 00:41:19 +08:00
|
|
|
}
|