src.nth.io/

summaryrefslogtreecommitdiff
path: root/roles/hap-nodejs
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2018-01-29 22:45:54 -0600
committerLuke Hoersten <[email protected]>2018-01-29 22:45:54 -0600
commit1f1c1c32cfee61073218e172eef573aca6354b79 (patch)
tree71146335d574018bf28346251575c8a4ac8fde1a /roles/hap-nodejs
parentbbdec152e46980e18b5ec7910479129cd7b2932f (diff)
Removed unneeded npm command module.
Diffstat (limited to 'roles/hap-nodejs')
-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