output of "ansible --version" please
On Mon, Feb 25, 2013 at 1:31 PM, damon ciarelli <
gda...@gmail.com> wrote:
> I seem to be running into the same problem.
>
> running this command works fine:
>
> $ ansible "post:&nginx" -u ubuntu -m git -a
> 'repo=g...@github.com:user/repo.git dest=/home/ubuntu/repo'
> <ipaddress> | success >> { etc.
>
>
> but in a playbook:
>
> action: git repo=g...@github.com:repo.git dest=/home/ubuntu/
>
> just hangs.
>
> while it's hanging, if I log into the server and do a "watch -n 1 "ps ax |
> grep git", I get:
>
> 23967 pts/3 S+ 0:00 /bin/sh -c /usr/bin/python
> /home/ubuntu/.ansible/tmp/ansible-1361816430.12-44660555879891/git; rm -rf
> /home/ubuntu/.ansible/tmp/ansible-1361816430.12-44660555879891/ >/dev/null
> 23968 pts/3 S+ 0:00 /usr/bin/python
> /home/ubuntu/.ansible/tmp/ansible-1361816430.12-44660555879891/git
> 23969 pts/3 S+ 0:00 /bin/sh -c git clone -o origin
> g...@github.com:user/repo.git /home/ubuntu/repo
> 23970 pts/3 S+ 0:00 git clone -o origin g...@github.com:user/repo.git
> /home/ubuntu/repo
> 23971 pts/3 S+ 0:00 ssh
g...@github.com git-upload-pack 'repo.git'
>
> And there it hangs.
> I can ssh into the server and run the command in bold:
>
> git clone -o origin g...@github.com:user/repo.git /home/ubuntu/repo
>
> Cloning into '/home/ubuntu/repo'...
> remote: Counting objects: 6065, done.
> remote: Compressing objects: 100% (1737/1737), done.
> remote: Total 6065 (delta 3884), reused 6065 (delta 3884)
> Receiving objects: 100% (6065/6065), 40.68 MiB | 9.97 MiB/s, done.
> Resolving deltas: 100% (3884/3884), done.
>
> It seems like it's something the ssh context when running a playbook as
> opposed to the command line.
> I'm not too familiar with what exactly the ssh-agent is doing but... I'm
> ignorantly pointing my finger there...
>
> people in the know... any clues here?
> --
> 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
ansible-proje...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>