nodejs/tasks/main.yaml
changeset 12 80a6e9af6aa9
parent 2 2556522a2a45
child 144 267d58c0e186
--- a/nodejs/tasks/main.yaml	Mon Feb 17 19:01:58 2020 -0600
+++ b/nodejs/tasks/main.yaml	Fri May 01 16:21:21 2020 -0500
@@ -3,10 +3,12 @@
 - name: download and unarchive nodejs
   become: yes
   unarchive:
-    src: "https://nodejs.org/dist/{{nodejs_tag}}/{{nodejs_dir}}.tar.xz"
+    src: "{{nodejs_src}}"
     dest: "/opt/"
     remote_src: yes
     creates: "/opt/{{nodejs_dir}}"
+    owner: "root"
+    group: "root"
 
 # sudo update-alternatives --install "/usr/bin/node" "node" "/opt/node/bin/node" 1
 - name: update node alterantives