Fix typo in azure_rm_virtualmachine_scaleset_facts

pull/54135/head
Matt Clay 6 years ago
parent 465acef2a3
commit f6c31e0562

@ -320,7 +320,7 @@ class AzureRMVirtualMachineScaleSetFacts(AzureRMModuleBase):
self.log('Could not extract load balancer / virtual network name') self.log('Could not extract load balancer / virtual network name')
try: try:
ssh_password_enabled = (not vmss['properties']['virtualMachineProfile']['osProfile'], ssh_password_enabled = (not vmss['properties']['virtualMachineProfile']['osProfile']
['linuxConfiguration']['disablePasswordAuthentication']) ['linuxConfiguration']['disablePasswordAuthentication'])
except Exception: except Exception:
self.log('Could not extract SSH password enabled') self.log('Could not extract SSH password enabled')

Loading…
Cancel
Save