> Your play snippet and execution log excerpt do not allow to know if the 
> `git` task is executed by the remote user (in this example `vagrant`) and I 
> suspect that this task is in fact executed by root, due to some `sudo: yes` 
> (enabled either in Vagrant settings or in your playbook file). 
>

Oops sorry, just a little correction on what I wrote before: Your play is 
complete and does not include any `sudo: yes`, so I suppose that you are 
using the `ansible.sudo = true` option in the vagrant provisioner settings. 
Could confirm? 

-- 
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-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/ea7d380b-f987-48d0-a817-756b135e96c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to