node/install/tasks/main.yaml
changeset 2 0556e208fbee
parent 1 d3ef4e0b4baa
--- a/node/install/tasks/main.yaml	Fri May 01 17:00:59 2020 -0500
+++ b/node/install/tasks/main.yaml	Sun May 03 15:55:50 2020 -0500
@@ -14,5 +14,10 @@
 
 - name: install node
   become: yes
-  shell: "install -m 0755 -o {{node_install_user}} -g {{node_install_user}} -t /usr/local/bin /tmp/{{node_install_tar_name}}/*"
-  changed_when: false
+  copy:
+    src: "/tmp/{{node_install_tar_name}}/"
+    dest: "/usr/local/bin/"
+    remote_src: yes
+    owner: "root"
+    group: "root"
+    mode: "0755"