How do I pass username and password while using Ansible Git module?
<p>While doing clone, push or pull of a private git repository hosted internally  (e.g. on a GitLab instance) with Ansible's Git module, how do I specify username and password to authenticate with the Git server?</p>

<p>I don't see any way to do this in the <a href="http://docs.ansible.com/ansible/git_module.html#options" rel="noreferrer">documentation</a>.</p>