Skip to content

Commit

Permalink
sudo fix for ubuntu.
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe committed Aug 1, 2014
1 parent a7a7ae8 commit 2dc18c3
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 2dc18c3

Please sign in to comment.