src.nth.io/

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--roles/hap-nodejs/tasks/main.yaml5
1 files changed, 1 insertions, 4 deletions
diff --git a/roles/hap-nodejs/tasks/main.yaml b/roles/hap-nodejs/tasks/main.yaml
index 3ec3223..a73eddb 100644
--- a/roles/hap-nodejs/tasks/main.yaml
+++ b/roles/hap-nodejs/tasks/main.yaml
@@ -30,10 +30,7 @@
notify: restart hap-nodejs service
- name: build HAP-NodeJS
- command: "npm install"
- args:
- chdir: "{{hap_dest}}"
- changed_when: false
+ npm: path="{{hap_dest}}"
- name: configure systemd service
become: yes