'm currently setting up an automated application installation with Ansible. However parts of the installation require to clone/pull code from a private git repository.
A possibility would be to use private key authentication, however we all know that (as of this writing in December 2015) it is not possible to use the same public key on multiple git repositories in github.
So I found a way to let Ansible clone the repository with my own user, yet without hard-coding it of course.
At the begin of the playbook yaml, I ask for the credentials: