Last active
January 3, 2016 18:29
-
-
Save shohey1226/8502034 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: servers | |
user: root | |
tasks: | |
- name: install the latest git | |
command: rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt | |
command: rpm -i http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm | |
- name: install git with yum | |
yum: name=git enablerepo=rpmforge-extras state=latest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment