Last active
August 29, 2015 14:04
-
-
Save saka1/6a07e1406870a153357d to your computer and use it in GitHub Desktop.
ansibleでsbtを入れる所まで
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: all | |
| user: vagrant | |
| sudo: True | |
| tasks: | |
| - name: install python-selinux | |
| yum: pkg=libselinux-python state=latest | |
| - name: install openjdk-1.7 | |
| yum: pkg=java-1.7.0-openjdk-devel.x86_64 state=latest | |
| - name: add typesafe's repository | |
| copy: src=typesafe.repo dest=/etc/yum.repos.d/typesafe.repo | |
| - name: install sbt from the typesafe's repository | |
| yum: pkg=sbt enablerepo=typesafe disable_gpg_check=yes |
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
| [typesafe] | |
| name=Typesafe Rpm Repository | |
| baseurl=http://rpm.typesafe.com/ | |
| enabled=1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment