Skip to content

Instantly share code, notes, and snippets.

@jacoelho
Last active July 3, 2016 21:17
Show Gist options
  • Save jacoelho/51fa109768300b58dec4f15dc1e05abd to your computer and use it in GitHub Desktop.
Save jacoelho/51fa109768300b58dec4f15dc1e05abd to your computer and use it in GitHub Desktop.
install scala ansible 2.1
- hosts: localhost
become: yes
connection: local
tasks:
- apt_key:
keyserver: keyserver.ubuntu.com
id: 642AC823
- apt_repository:
repo: 'deb https://dl.bintray.com/sbt/debian /'
state: present
register: repo
- apt: update_cache=yes
when: repo.changed
- apt:
package: sbt
- apt:
deb: http://downloads.lightbend.com/scala/2.11.8/scala-2.11.8.deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment