diff -r 0dab8e98044a -r 55b8db128364 roles/hap-nodejs/tasks/main.yaml --- a/roles/hap-nodejs/tasks/main.yaml Mon Jan 29 22:38:53 2018 -0600 +++ b/roles/hap-nodejs/tasks/main.yaml Mon Jan 29 22:45:54 2018 -0600 @@ -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