mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
set network_config.public_ips attribute
This commit is contained in:
parent
1f51a5effd
commit
f5532b7904
1 changed files with 1 additions and 0 deletions
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue