Skip to content

Commit

Permalink
Use unarchive module instead of tar when extracting node archive
Browse files Browse the repository at this point in the history
  • Loading branch information
loliee committed Mar 14, 2016
1 parent fe78bcc commit 871eac7
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
Expand Up @@ -13,7 +13,9 @@
dest: "/tmp/node-v{{nodejs_version}}.tar.gz"

- name: node.js | source | Unpack the node.js source
shell: tar -xvzf /tmp/node-v{{nodejs_version}}.tar.gz chdir=/tmp creates=/tmp/node-v{{nodejs_version}}
unarchive:
src: "/tmp/node-v{{nodejs_version}}.tar.gz"
dest: "/tmp/node-v{{nodejs_version}}"

- name: node.js | source |Get the number of processors
command: nproc
Expand Down

0 comments on commit 871eac7

Please sign in to comment.