mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-25 16:06:43 +00:00
ssh_public_keys on Azure virtual machine is a list (#4350)
The ssh_public_keys must be a list otherwise will give the error: "argument ssh_public_keys is of type <type 'dict'> and we were unable to convert to list"
This commit is contained in:
committed by
Matt Clay
parent
5ebe26e782
commit
697a328124
@@ -241,8 +241,8 @@ EXAMPLES = '''
|
||||
storage_account: testaccount001
|
||||
admin_username: adminUser
|
||||
ssh_public_keys:
|
||||
path: /home/adminUser/.ssh/authorized_keys
|
||||
key_data: < insert yor ssh public key here... >
|
||||
- path: /home/adminUser/.ssh/authorized_keys
|
||||
key_data: < insert yor ssh public key here... >
|
||||
network_interfaces: testvm001
|
||||
image:
|
||||
offer: CentOS
|
||||
|
||||
Reference in New Issue
Block a user