Skip to content

Instantly share code, notes, and snippets.

@saka1
Last active August 29, 2015 14:04
Show Gist options
  • Select an option

  • Save saka1/6a07e1406870a153357d to your computer and use it in GitHub Desktop.

Select an option

Save saka1/6a07e1406870a153357d to your computer and use it in GitHub Desktop.
ansibleでsbtを入れる所まで
---
- 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
[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