diff options
author | Richard Lander <richard.lander@tribridge.com> | 2014-12-15 16:26:33 -0500 |
---|---|---|
committer | Richard Lander <richard.lander@tribridge.com> | 2014-12-15 16:26:33 -0500 |
commit | 0ab3b30b2faccab5245aeea172644a15c2274c4d (patch) | |
tree | a777ef9da195b3118a5632bf53288a6e5eb88adb | |
parent | b0c94cd6f634bccc3f2393a28a1e60478097483b (diff) | |
download | ansible-modules-core-0ab3b30b2faccab5245aeea172644a15c2274c4d.tar.gz |
set network_config.public_ips attribute
-rw-r--r-- | cloud/azure/azure.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cloud/azure/azure.py b/cloud/azure/azure.py index 1679fbc4..9c73df90 100644 --- a/cloud/azure/azure.py +++ b/cloud/azure/azure.py @@ -281,6 +281,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', |