mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-28 11:10:21 -07:00
Fix typo in azure_rm_virtualmachine_scaleset_facts
This commit is contained in:
parent
465acef2a3
commit
f6c31e0562
1 changed files with 1 additions and 1 deletions
|
@ -320,7 +320,7 @@ class AzureRMVirtualMachineScaleSetFacts(AzureRMModuleBase):
|
|||
self.log('Could not extract load balancer / virtual network name')
|
||||
|
||||
try:
|
||||
ssh_password_enabled = (not vmss['properties']['virtualMachineProfile']['osProfile'],
|
||||
ssh_password_enabled = (not vmss['properties']['virtualMachineProfile']['osProfile']
|
||||
['linuxConfiguration']['disablePasswordAuthentication'])
|
||||
except Exception:
|
||||
self.log('Could not extract SSH password enabled')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue