# Ansible WAS provision stuck

**URL:** <https://forum.ansible.com/t/ansible-was-provision-stuck/18076>\
**Category:** Ansible Project\
**Tags:** ubuntu, aws\
**Created:** [April 24, 2015, 11:48am UTC](https://forum.ansible.com/t/ansible-was-provision-stuck/18076 "2015-04-24T11:48:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Serega\_Sheypak](https://avatars.discourse-cdn.com/v4/letter/s/7bcc69/32.png) [@Serega\_Sheypak](https://forum.ansible.com/u/Serega_Sheypak)\
**Post date:** [April 24, 2015, 11:48am UTC](https://forum.ansible.com/t/ansible-was-provision-stuck/18076/1 "2015-04-24T11:48:48Z")

</div>

Hi, I’m running playbook on amazon hosts:

ansible-playbook --private-key=serega\_test -u ubuntu -i hosts.aws playbook.yml

playbook stuck here:

GATHERING FACTS \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
ok: [xxx]  
ok: [yyy]  
ok: [zzz]

TASK: [dse-install | installing datastax enterprise] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

Nothing happens for 30 minutes. It takes 1-2 minute on local env with Vagrant.  
I logged to host to check apt history:

Start-Date: 2015-04-24 11:21:05  
Commandline: /usr/bin/apt-get -y -o Dpkg::Options::=–force-confdef -o Dpkg::Options::=–force-confold install dse-full=4.6.5-1  
Install: python-support:amd64 (1.0.15, automatic), dse-libhadoop:amd64 (4.6.5-1, automatic), jsvc:amd64 (1.0.15-5ubuntu2, automatic), dse-libhive:amd64 (4.6.5-1, automatic), dse-libmahout:amd64 (4.6.5-1, automatic), dse-libtomcat:amd64 (4.6.5-1, automatic), dse-libspark:amd64 (4.6.5-1, automatic), dse-demos:amd64 (4.6.5-1, automatic), libcommons-daemon-java:amd64 (1.0.15-5ubuntu2, automatic), dse-libsqoop:amd64 (4.6.5-1, automatic), dse-full:amd64 (4.6.5-1), dse-pig:amd64 (4.6.5-1, automatic), dse:amd64 (4.6.5-1, automatic), dse-libsolr:amd64 (4.6.5-1, automatic), dse-libpig:amd64 (4.6.5-1, automatic), dse-hive:amd64 (4.6.5-1, automatic), datastax-agent:amd64 (5.1.1, automatic), dse-libhadoop-native:amd64 (4.6.5-1, automatic), dse-liblog4j:amd64 (4.6.5-1, automatic), dse-libcassandra:amd64 (4.6.5-1, automatic)  
End-Date: 2015-04-24 11:21:22

Start-Date: 2015-04-24 11:41:49  
Commandline: apt-get install htop  
Install: htop:amd64 (1.0.2-3)  
End-Date: 2015-04-24 11:41:50

I see that ansible started dse installation and finished it.  
Then my manual htop installation goes.

Why Ansible stuck?  
What could be a reason?

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [April 24, 2015, 1:52pm UTC](https://forum.ansible.com/t/ansible-was-provision-stuck/18076/2 "2015-04-24T13:52:21Z")

</div>

this is probably a network issue and apt-get is stuck, since ansible  
is waiting for apt-get, ansible is stuck. I would try running the  
equivalent apt-get manually on the servers to debug.
