ansible/ansible-modules-core — pull request #528 by lander2k2 (2014-12-16 22:36:56+00:00)
Title: password required

this playbook (without password):

# azure_provision.yml
---
- name: testing
hosts: local
tasks:
- local_action:
module: azure
subscription_id: [subscription id]
management_cert_path: [cert path]
storage_account: teststorage
location: 'East US'
name: TEST-ansible
role_size: Basic_A0
image: b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu-12_04_5-LTS-amd64-server-20140927-en-us-30GB
user: testbot
wait: yes
state: present

results in:

failed: [localhost -> 127.0.0.1] => {"failed": true}
msg: failed to create the new virtual machine, error was: Unknown error (Bad Request)
<Error xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Code>BadRequest</Code><Message>The UserPassword property must be specified.</Message></Error>

FATAL: all hosts have already failed -- aborting