I have the same issue. I use a gce_module of ansible which uses 
apache-libcloud. When I try to run a google instance, I get an error - 
failed: [localhost] => {"changed": false, "failed": true} msg: Unexpected 
response: {} 

What can possibly cause it?

On Saturday, January 24, 2015 at 9:59:50 PM UTC+2, Faisal Rabbani wrote:
>
> Hi,
> I am trying to create new instance via ansible gce module but getting this 
> message:
>
> PLAY [localhost] 
> **************************************************************
>
> TASK: [Launch instances] 
> ******************************************************
> failed: [localhost -> 127.0.0.1] => {"changed": false, "failed": true}
> msg: Unexpected response: {}
>
> FATAL: all hosts have already failed -- aborting
> This is my playbook:
>   local_action:
>             module: gce
>             name: test-instance
>             zone: us-central1-a
>             machine_type: f1.micro
>             image: ubuntu-14-10
>             service_account_email: ####################@
> developer.gserviceaccount.com
>             pem_file: /root/.ssh/key
>             project_id: 234sda
>         register: gce
>
>

-- 
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/c547c67c-d179-4c94-bc49-22e520712a90%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to