# Ansible gce module just hangs

**URL:** <https://forum.ansible.com/t/ansible-gce-module-just-hangs/20039>\
**Category:** Ansible Project\
**Created:** [December 17, 2015, 2:19pm UTC](https://forum.ansible.com/t/ansible-gce-module-just-hangs/20039 "2015-12-17T14:19:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shubhendu\_singh](https://avatars.discourse-cdn.com/v4/letter/s/258eb7/32.png) [@shubhendu\_singh](https://forum.ansible.com/u/shubhendu_singh)\
**Post date:** [December 17, 2015, 2:19pm UTC](https://forum.ansible.com/t/ansible-gce-module-just-hangs/20039/1 "2015-12-17T14:19:24Z")

</div>

ansible-playbook -vvvv --private-key=~/.ssh/google\_compute\_engine -i ansible\_hosts site.yml

PLAY [Create Compute Engine instances] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

TASK: [Bring up the instances in the first zone] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
\<127.0.0.1\> ESTABLISH CONNECTION FOR USER: shubhendu  
\<127.0.0.1\> REMOTE\_MODULE gce image=debian-7 project\_id=\*\*\*\*\*-007 machine\_type=n1-standard-1 pem\_file=docstore-pkey.pem instance\_names=myinstance1,myinstance3 service\_account\_email= zone=us-central1-a  
\<127.0.0.1\> EXEC ssh -C -tt -vvv -o ControlMaster=auto -o ControlPersist=60s -o ControlPath=“/home/shubhendu/.ansible/cp/ansible-ssh-%h-%p-%r” -o StrictHostKeyChecking=no -o IdentityFile=“/home/shubhendu/.ssh/google\_compute\_engine” -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 127.0.0.1 /bin/sh -c ‘mkdir -p $HOME/.ansible/tmp/ansible-tmp-1450360918.21-219379782871306 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1450360918.21-219379782871306 && echo $HOME/.ansible/tmp/ansible-tmp-1450360918.21-219379782871306’  
\<127.0.0.1\> PUT /tmp/tmpODInqp TO /home/shubhendu/.ansible/tmp/ansible-tmp-1450360918.21-219379782871306/gce  
\<127.0.0.1\> EXEC ssh -C -tt -vvv -o ControlMaster=auto -o ControlPersist=60s -o ControlPath=“/home/shubhendu/.ansible/cp/ansible-ssh-%h-%p-%r” -o StrictHostKeyChecking=no -o IdentityFile=“/home/shubhendu/.ssh/google\_compute\_engine” -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 127.0.0.1 /bin/sh -c ‘LANG=C LC\_CTYPE=C /usr/bin/python /home/shubhendu/.ansible/tmp/ansible-tmp-1450360918.21-219379782871306/gce; rm -rf /home/shubhendu/.ansible/tmp/ansible-tmp-1450360918.21-219379782871306/ \>/dev/null 2\>&1’

Ansible just hangs there without creating a new instance I am using the ansible role form here  
[https://github.com/GoogleCloudPlatform/compute-video-demo-ansible](https://github.com/GoogleCloudPlatform/compute-video-demo-ansible)

Ansible version = ansible 1.9.4  
Libcloud version = apache-libcloud 0.20.0

Can some one tell what could be the problem?
