Skip to content

Commit

Permalink
Merge pull request #1 from bcoe/master
Browse files Browse the repository at this point in the history
sudo should be true for installation on Ubuntu
  • Loading branch information
pjan committed Sep 6, 2014
2 parents 8e9f6e0 + 2dc18c3 commit a15cc34
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tasks/source.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# file: erlang/tasks/source.yml

- name: Erlang | Make sure the build dependencies are installed
sudo: true
apt:
pkg: "{{item}}"
state: present
Expand All @@ -11,7 +12,7 @@
url: "http://erlang.org/download/otp_src_{{erlang_version}}.tar.gz"
dest: "/tmp/otp_src_{{erlang_version}}.tar.gz"

- name: Erlang | Unplack the compressed erlang source
- name: Erlang | Unpack the compressed erlang source
command: tar -xvzf /tmp/otp_src_{{erlang_version}}.tar.gz chdir=/tmp creates=/tmp/otp_src_{{erlang_version}}/README.md

- name: Erlang | Build erlang from source - pt. 1 (configure)
Expand All @@ -21,4 +22,5 @@
command: "make chdir=/tmp/otp_src_{{erlang_version}}"

- name: Erlang | Build erlang from source - pt. 1 (make install)
sudo: true
command: "make install chdir=/tmp/otp_src_{{erlang_version}}"

0 comments on commit a15cc34

Please sign in to comment.