https://github.com/avinash6784/ansible-git
Ansible Playbook Role For Git Install - Git
https://github.com/avinash6784/ansible-git
ansible ansible-role devops git repository
Last synced: 2 months ago
JSON representation
Ansible Playbook Role For Git Install - Git
- Host: GitHub
- URL: https://github.com/avinash6784/ansible-git
- Owner: avinash6784
- License: mit
- Created: 2017-02-15T14:09:29.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-11T06:24:20.000Z (over 9 years ago)
- Last Synced: 2025-03-27T22:30:19.314Z (about 1 year ago)
- Topics: ansible, ansible-role, devops, git, repository
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ansible Role: Git [Ansible Playbook Role To Install Git]
Install Git, a distributed version control system, on any RHEL/CentOS Linux system.
## Requirements
None.
## Role Variables
None
## Dependencies
None.
## Usage and Example Playbook
Install from Ansible Galaxy
$ ansible-galaxy install avinash6784.git
Or download manually
$ git clone https://github.com/avinash6784/ansible-git.git
The code should reside in the roles directory of ansible ( See ansible documentation for more information on roles ), in a folder git.
## Run the playbook
First create a playbook including the git role, naming it git.yml.
```yml
- name: Git
hosts: git
become: true
roles:
- ansible-git
$ ansible-playbook -i hosts git.yml
```
## Author Informations
This role was created by [Avinash Pawar](https://github.com/avinash6784/ansible-git).