3 ms·
Strange, http://docs.ansible.com/ansible/latest/git_module.html http://docs.ansible.com/ansible/latest/git_module.html is pretty robust. If you haven't already,
by corford 9y ago
Strange, http://docs.ansible.com/ansible/latest/git_module.html http://docs.ansible.com/ansible/latest/git_module.html is pretty robust. If you haven't already, try running the playbook with -vvv to get extra debug info printed. You might be running in to a (possibly obscure) local or remote SSH permission issue.
You can use ansible.verbose="vvvv" if you're calling the play via vagrant's ansilbe provisioner.
- timwaagh 9y agoOf course I tried -vvv and -vvvv. That did not tell me anything for this issue. I also tried the option where you get a bunch of python scripts. That told me a lot more than I wanted to know. The obvious option of seeing which commands it has run and their in and output just does not seem to be in there.
- corford 9y agoNo idea then, sorry. The only time the git module has failed with me is due to me fucking up my SSH settings in a convoluted environment (SSH Agent on windows workstation -> ansible controller on vagrant ubuntu box -> remote AWS bastion -> repo host with a very restrictive sshd config). In that case, running ansible verbosely gave enough info to point me in the direction of fixing what was wrong with my ssh setup (can't remember now what it was).