This role installs from source Git, a distributed version control system, on any RHEL/CentOS and Debian Linux system.
This role requires Ansible 1.4 or higher and platform requirements are listed in the metadata file.
The variables that can be passed to this role and a brief description about them are as follows.
# The version to install
git_version: '1.8.5.5'
# The make prefix to use
git_make_prefix: '/usr/local'
-
Install latest git version
- hosts: all
roles:
- ansible-git-common
- hosts: all
roles:
-
Install specific git version in /usr
- hosts: all
roles:
- {role: 'ansible-git-common', git_version: '1.8.5.5', git_make_prefix: '/usr'}
- hosts: all
roles:
None
BSD
Parv Mihai