Skip to content

ansible playbook seems to hang at DigitalOcean #2

@MidGe48

Description

@MidGe48

Trying to get over the ssh issues that I thought may have been related to Vagrant, I tried running the playbook alone on a Ubuntu Server 12,04 droplet at DigitalOcean.

It all starts as expected and then seems to hang:

<192.241.xxx.xxx> ESTABLISH CONNECTION FOR USER: vagrant
<192.241.xxx.xxx> EXEC ['ssh', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/tmp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2222', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '192.241.xxx.xxx', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-1371804536.13-251237740311235 && chmod a+rx $HOME/.ansible/tmp/ansible-1371804536.13-251237740311235 && echo $HOME/.ansible/tmp/ansible-1371804536.13-251237740311235'"]
<192.241.xxx.xxx> REMOTE_MODULE apt name='python-software-properties' state=installed update_cache=yes CHECKMODE=True
<192.241.1xxx.xxx> PUT /tmp/tmpnavu5o TO /home/vagrant/.ansible/tmp/ansible-1371804536.13-251237740311235/apt
<192.241.xxx.xxx> EXEC ['ssh', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/tmp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'Port=2222', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '192.241.xxx.xxx', '/bin/sh -c 'sudo -k && sudo -H -S -p "[sudo via ansible, key=eobedjoxbbwuvbtdqqnxmcdlajbpaklb] password: " -u root /bin/sh -c '"'"'/usr/bin/python /home/vagrant/.ansible/tmp/ansible-1371804536.13-251237740311235/apt; rm -rf /home/vagrant/.ansible/tmp/ansible-1371804536.13-251237740311235/ >/dev/null 2>&1'"'"''']

On the droplet side, the connection worked and the footprints of execution are there (ie the directory ansible-1371804536.13-251237740311235 exists).

I have tried running it without fireball, but get pretty much the same result except that the first task is different and the hanging occurs in the running of the first task whatever the task is ( update the hostname to akita, in my case)

There are no errors anywhere to be found!

Any clues?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions