I actually found this thread because I came across the same problem and now 
I'm scared because I met another Ben Turner in this exact spot.

ARE YOU ME?

On Monday, September 16, 2013 8:00:44 AM UTC-4, Ben Turner wrote:
>
> Hi,
>
> I've used ansible with some success on remote servers, but wanted to build 
> up a quick playbook to build on dev boxes quickly.
>
> So I wrote out a small playbook to just install some apt packages, and run 
> it - but it seems to get "stuck" at Gathering Facts.
>
> Any idea what might be missing ? I've installed openssh-server on the 
> machine (assuming ansible needs this to connect) and I'm just connecting 
> using my SSH password for now, to avoid any key issues.
>
> I've enclosed the output below, with some verbose logging:
>
> ben@vostro ~/code/ansible_recipes $ ansible-playbook -i hosts -k 
> devbox.yml -vvv
> SSH password: 
>  _________________
> < PLAY [devboxes] >
>  -----------------
>         \   ^__^
>          \  (oo)\_______
>             (__)\       )\/\
>                 ||----w |
>                 ||     ||
>
>
>  _________________
> < GATHERING FACTS >
>  -----------------
>         \   ^__^
>          \  (oo)\_______
>             (__)\       )\/\
>                 ||----w |
>                 ||     ||
>
>
> <localhost> ESTABLISH CONNECTION FOR USER: ben
> <localhost> EXEC ['sshpass', '-d4', 'ssh', '-tt', '-q', '-o', 
> 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 
> 'ControlPath=/home/ben/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', 
> '-o', 'GSSAPIAuthentication=no', '-o', 'PubkeyAuthentication=no', '-o', 
> 'ConnectTimeout=10', 'localhost', "/bin/sh -c 'mkdir -p 
> $HOME/.ansible/tmp/ansible-1379332720.77-1201888593115 && chmod a+rx 
> $HOME/.ansible/tmp/ansible-1379332720.77-1201888593115 && echo 
> $HOME/.ansible/tmp/ansible-1379332720.77-1201888593115'"]
> <localhost> REMOTE_MODULE setup 
> <localhost> PUT /tmp/tmpLyL69q TO 
> /home/ben/.ansible/tmp/ansible-1379332720.77-1201888593115/setup
> <localhost> EXEC ['sshpass', '-d4', 'ssh', '-tt', '-q', '-o', 
> 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 
> 'ControlPath=/home/ben/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', 
> '-o', 'GSSAPIAuthentication=no', '-o', 'PubkeyAuthentication=no', '-o', 
> 'ConnectTimeout=10', 'localhost', '/bin/sh -c \'sudo -k && sudo -H -S -p 
> "[sudo via ansible, key=ulungtivpfjeywjqwqbhuutagtccxvwz] password: " -u 
> root /bin/sh -c \'"\'"\'/usr/bin/python 
> /home/ben/.ansible/tmp/ansible-1379332720.77-1201888593115/setup; rm -rf 
> /home/ben/.ansible/tmp/ansible-1379332720.77-1201888593115/ >/dev/null 
> 2>&1\'"\'"\'\'']
>
>
>

-- 
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/38b77b7c-86b5-416c-a58d-7277a6f1a071%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to