From 697a3281245e5d8866a2fe3a14e53d0aa9fb3449 Mon Sep 17 00:00:00 2001 From: Patrick Marques Date: Thu, 25 Aug 2016 23:08:54 +0100 Subject: [PATCH] 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 and we were unable to convert to list" --- lib/ansible/modules/cloud/azure/azure_rm_virtualmachine.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/cloud/azure/azure_rm_virtualmachine.py b/lib/ansible/modules/cloud/azure/azure_rm_virtualmachine.py index 9da0639a1e6..868e4ed7a2c 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_virtualmachine.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_virtualmachine.py @@ -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