Skip to content

Instantly share code, notes, and snippets.

@JEG2
Created February 1, 2017 22:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JEG2/f96a61ab6dd2ff2dde5c25c4cd9a11dd to your computer and use it in GitHub Desktop.
Save JEG2/f96a61ab6dd2ff2dde5c25c4cd9a11dd to your computer and use it in GitHub Desktop.
Install Erlang and Elixir.
---
- hosts: builders
tasks:
- name: Fetch Erlang Solutions repository
get_url:
url: https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb
dest: /tmp/erlang-solutions_1.0_all.deb
- name: Add Erlang Solutions repository
become: true
apt:
deb: /tmp/erlang-solutions_1.0_all.deb
- name: Install Erlang
become: true
apt:
update_cache: yes
name: esl-erlang=1:19.2
state: present
- name: Install Elixir
become: true
apt:
name: elixir=1.4.0-1
state: present
@michaelglass
Copy link

pretty straightforward!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment