Created
August 18, 2014 14:23
-
-
Save knewter/4fbdf75ed71b471dbdef to your computer and use it in GitHub Desktop.
elixir ansible deploy
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
--- | |
- name: Create directory to put elixir in | |
sudo: 'yes' | |
shell: "mkdir -p /opt/elixir/v0.15.0" | |
- name: Install unzip | |
apt: name=unzip state=present update_cache=true | |
- name: Unzip elixir release | |
sudo: 'yes' | |
unarchive: src=files/elixir-v0.15.0.zip dest=/opt/elixir/v0.15.0 |
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
--- | |
- name: Add erlang solutions gpg key | |
apt_key: url=http://packages.erlang-solutions.com/debian/erlang_solutions.asc state=present | |
- name: Add erlang solutions repo | |
apt_repository: repo='deb http://packages.erlang-solutions.com/debian wheezy contrib' state=present | |
- name: Install Erlang | |
apt: name=erlang state=present update_cache=true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment