Set win_rm protocol to the name, not the full ProtocolTypes object (#37499)
This commit is contained in:
parent
0214a85382
commit
6dfc82fe3e
1 changed files with 1 additions and 1 deletions
|
@ -630,7 +630,7 @@ class AzureInventory(object):
|
|||
if machine.os_profile.windows_configuration.win_rm.listeners is not None:
|
||||
host_vars['windows_rm']['listeners'] = []
|
||||
for listener in machine.os_profile.windows_configuration.win_rm.listeners:
|
||||
host_vars['windows_rm']['listeners'].append(dict(protocol=listener.protocol,
|
||||
host_vars['windows_rm']['listeners'].append(dict(protocol=listener.protocol.name,
|
||||
certificate_url=listener.certificate_url))
|
||||
|
||||
for interface in machine.network_profile.network_interfaces:
|
||||
|
|
Loading…
Reference in a new issue