diff --git a/tasks/source.yml b/tasks/source.yml index 881cac9..bf32581 100644 --- a/tasks/source.yml +++ b/tasks/source.yml @@ -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 @@ -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) @@ -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}}"