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