Re: [ansible-project] provisioning azure VMs with azure module

2015-01-08 Thread Jeffrey Liu
As well as the disk associated with the Linux VM is not deleted. On Thursday, January 8, 2015 1:59:28 PM UTC-5, Jeffrey Liu wrote: > > Another follow up, downgrading to v0.8.4 seems to allow the creation of a > linux VM, but it does not properly terminate. > The Linux VM is deleted, but the assoc

Re: [ansible-project] provisioning azure VMs with azure module

2015-01-08 Thread Jeffrey Liu
Another follow up, downgrading to v0.8.4 seems to allow the creation of a linux VM, but it does not properly terminate. The Linux VM is deleted, but the associated cloud service is not deleted. On Thursday, January 8, 2015 11:38:15 AM UTC-5, Jeffrey Liu wrote: > > Just an FYI, it seems that down

Re: [ansible-project] provisioning azure VMs with azure module

2015-01-08 Thread Jeffrey Liu
Just an FYI, it seems that downgrading the python azure library to v0.8.4 fixes the issue. I'll put a note into the github issue below as well. On Wednesday, January 7, 2015 4:05:57 PM UTC-5, Jeffrey Liu wrote: > > In Azure, there's a concept of a cloud service (sort of a container that > is c

Re: [ansible-project] provisioning azure VMs with azure module

2015-01-07 Thread Jeffrey Liu
In Azure, there's a concept of a cloud service (sort of a container that is created first) that is associated with one or more VM instances, and in fact that is created by the ansible play. So it looks like the Azure API has changed where it expects additional information regarding the VM. O

Re: [ansible-project] provisioning azure VMs with azure module

2015-01-07 Thread Brian Coca
that seems to be an error with the azure python library -- Brian Coca -- 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 ansible-project+unsubscr...@googlegro

Re: [ansible-project] provisioning azure VMs with azure module

2015-01-07 Thread Jeffrey Liu
Okay, looks like I'm getting the same error as reported here: https://github.com/ansible/ansible-modules-core/issues/397 No attribute 'public_ips' $ ansible-playbook -i hosts azure.yml PLAY [localhost] ** TASK: [create test instance

Re: [ansible-project] provisioning azure VMs with azure module

2015-01-07 Thread Jeffrey Liu
Silly me. Yes, that gets me farther. Thank you. Now it seems to be failing on checking if the name is available - looks like a management cert error. I'll have to continue debugging TASK: [create test instance] ** failed: [localhost -> 127

Re: [ansible-project] provisioning azure VMs with azure module

2015-01-07 Thread Brian Coca
test.yml is not a valid playbook, it only lists tasks, you need a play. try adding this to the top and indenting the rest to be under 'tasks:' - hosts: localhost gather_facts: false tasks: -- Brian Coca -- You received this message because you are subscribed to the Google Groups "Ansibl

[ansible-project] provisioning azure VMs with azure module

2015-01-07 Thread Jeffrey Liu
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