Hi All,

Ansible:  1.8.2
Python-azure:  0.9.0

I'm trying to use ansible to provision an Azure VM, but I'm getting the 
following error:

$ ansible-playbook test.yml
ERROR: local_action is not a legal parameter at this level in an Ansible 
Playbook


$ cat test.yml
---
# Provision virtual machine example
 - local_action:
     module: azure
     name: my-virtual-machine
     role_size: Small
     image: 
b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu_DAILY_BUILD-precise-12_04_3-LTS-amd64-server-20131205-en-us-30GB
     location: 'East US'
     user: ubuntu
     ssh_cert_path: /path/to/azure_x509_cert.pem
     storage_account: my-storage-account
     wait: yes


Not sure if I'm doing something wrong?

Thanks,
Jeff


-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/03d4998a-f0b6-4c7a-a44c-1534c1c2dbfb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to