https://github.com/treetips/ansible-playbook-git
install latest git
https://github.com/treetips/ansible-playbook-git
ansible git
Last synced: about 1 month ago
JSON representation
install latest git
- Host: GitHub
- URL: https://github.com/treetips/ansible-playbook-git
- Owner: treetips
- Created: 2015-08-13T14:16:47.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-08-13T14:16:54.000Z (almost 11 years ago)
- Last Synced: 2025-09-04T20:52:49.904Z (10 months ago)
- Topics: ansible, git
- Size: 97.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 概要
yumでgitをインストールしようとすると古いバージョンになりがちです。このplaybookを使う事で、githubのソースコードからコンパイルし、最新バージョンのgitをインストールする事ができるようになります。
バージョンの指定は無く、常にその時の最新バージョンがインストールされます。
# playbook実行環境
Vagrant + CentOS7.1 + ansible v1.9.2
Vagrant + CentOS6.5 + ansible v1.9.2
で正常動作している事を確認しています。
# インベントリ
ansible-playbook-git/hosts
```ini
[development]
192.168.33.31
[development:vars]
ansible_ssh_port=22
ansible_ssh_user=vagrant
ansible_ssh_pass=vagrant
```
[development]の部分を任意のIPに変更して下さい。
# 実行方法
```
ansible-playbook -i hosts site.yml
```