Seems like there is isn't any module in Ansible which can commit back to a GIT repo. My case is such that i am allowing the user to create a new branch in any of our several repositories and with the help of templates, generate some necessary files, all this via ansible. I am able to clone the repo (even a branch/tag) via GIT module, create a new branch with shell module, populate it with templates, but now i need to push the new branch and its contents and this is where i am stuck. GIT push would prompt for username and password which is something i have in the variables but don't know how to use in Ansible shell command. Any ideas how to proceed 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 [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/e59684cf-e5ca-4b4f-97fa-036e59abedeb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
