git - Deploy software (or files) from git checkouts

Synopsis

  • Manage git checkouts of repositories to deploy files or software.

How do I pass username and password while using Ansible Git module ?

git config –global credential.helper cache (without timeout)

To not continuously type the git username and password:

git config --global credential.helper cache

git config –global credential.helper ‘cache –timeout=28800’

Pour ne pas avoir à taper son username/password à chaque push ou pull.

git config --global credential.helper 'cache --timeout=28800'