From f5532b79043a7737ea0c95d204b8bd3f0e6aaabe Mon Sep 17 00:00:00 2001 From: Richard Lander Date: Mon, 15 Dec 2014 16:26:33 -0500 Subject: [PATCH] set network_config.public_ips attribute --- lib/ansible/modules/cloud/azure/azure.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/modules/cloud/azure/azure.py b/lib/ansible/modules/cloud/azure/azure.py index d0c883c2b2d..3dbdfef6eff 100644 --- a/lib/ansible/modules/cloud/azure/azure.py +++ b/lib/ansible/modules/cloud/azure/azure.py @@ -294,6 +294,7 @@ def create_virtual_machine(module, azure): network_config = ConfigurationSetInputEndpoints() network_config.configuration_set_type = 'NetworkConfiguration' network_config.subnet_names = [] + network_config.public_ips = None for port in endpoints: network_config.input_endpoints.append(ConfigurationSetInputEndpoint(name='TCP-%s' % port, protocol='TCP',