Installs and configures git. On Linux it installs a global configuration /etc/gitconfig On OSX it installs ~/.gitconfig
See meta/main.yml
See defaults/main.yml. With v3.0.0+ of the role each mapping needs to have a UID associated with it.
See meta/main.yml.
Important that each URL mapping rule have a UUID
- hosts: servers
roles:
- role: andrewrothstein.git
git_config_protocol_map:
- uid: '93f2b82088e744739a4cfb8a3df68925'
url: 'ssh://[email protected]'
insteadOf : 'git://github.com'
- uid: '5446806d328f42dc8be2e6d1e6139aa8'
url: 'https://'
insteadOf : 'git://'
MIT
Andrew Rothstein [email protected]