Re: [ansible-project] Re: Issue with git module and ssh agent forwarding

2014-05-12 Thread tamakisquare
ile it reads from. Just a wild guess from me and it's pending investigation. Anyhow, please give the mentioned solution a try and share your result with us. On Saturday, May 10, 2014 9:39:02 AM UTC-7, Gilles Cornu wrote: > > tamakisquare, > > Thanks for feedback, and

[ansible-project] Re: Issue with git module and ssh agent forwarding

2014-05-08 Thread tamakisquare
I should mention that the verbose output from Ansible for the `git` task is also exactly the same in both cases. On Thursday, May 8, 2014 4:12:42 PM UTC-7, tamakisquare wrote: > > Gilles, thanks for the reply. > > I have double checked that the `git` task is indeed executed by the

[ansible-project] Re: Issue with git module and ssh agent forwarding

2014-05-08 Thread tamakisquare
Gilles, thanks for the reply. I have double checked that the `git` task is indeed executed by the intended remote user, vagrant, not root. Sudo is off in both Vagrant and Ansible configuration. I have a new discovery to the problem though. The reported issue happened with Ubuntu 14.04 ("phusio

[ansible-project] Issue with git module and ssh agent forwarding

2014-05-07 Thread tamakisquare
My setup is a vagrant box whose provisioning is provided by ansible. I have set up ssh agent forwarding from my local/host machine to the vagrant box so that the user 'vagrant' can perform `git clone` on a private bitbucket repo, which is configured to perform ssh key authentication. To verify