Skip to content

vmichel95/ansible-git

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

andrewrothstein.git

Build Status

Installs and configures git. On Linux it installs a global configuration /etc/gitconfig On OSX it installs ~/.gitconfig

Requirements

See meta/main.yml

Role Variables

See defaults/main.yml. With v3.0.0+ of the role each mapping needs to have a UID associated with it.

Dependencies

See meta/main.yml.

Example Playbook

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://'

License

MIT

Author Information

Andrew Rothstein [email protected]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published