Also facing the same issue

On Wednesday, April 30, 2014 9:27:59 AM UTC-4, Damjan Georgievski wrote:
>
> I'm running the task:
>
> - name: Cloning homepage repo...  sudo_user: gitpull  git: 
> repo=ssh://[email protected]:222/websites/homepage.com.git dest=/var/www/{{ 
> branch}}/ version={{ branch }} accept_hostkey=yes  changed_when: False
> but the task gets stuck always. I've tried ansible 1.5.5, 1.5.0, 1.5.3 and 
> the latest git (on ArchLinux).
>
> This is the process tree when it's stuck:
>
> 25857 pts/1    S+     0:00                      \_ /usr/bin/python 
> /tmp/ansible-tmp-1398860300.45-147818427778432/git25859 pts/1    S+     0:00  
>                         \_ /usr/bin/git ls-remote 
> ssh://[email protected]:222/websites/homepage.git -h refs/heads/master25860 
> pts/1    S+     0:00                              \_ ssh -p 222 
> [email protected] <javascript:> git-upload-pack '/websites/homepage.git'
> If I strace that ssh process I see it tries to read from fd 4, which acording 
> to /proc/25860/fd/4 is /dev/tty
>
> /home/gitpull/.ssh/known_hosts is created but is empty.
>
> I've tried manually cloning the repo and it asks me to confirm the host key, 
> I say 'yes' it's added to known_hosts and the clone finishes soon after.
> Then I'd remove /home/gitpull/.ssh/known_hosts and the task gets stuck again.
>
> The target OS is Debian 7.5
>
>

-- 
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/99b90a88-c41c-4c0d-89d8-feb664e6eff2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to