equal
deleted
inserted
replaced
28 - name: install door accessory |
28 - name: install door accessory |
29 copy: src="../../../src/Door_accessory.js" dest="{{hap_dest}}/accessories/Door_accessory.js" |
29 copy: src="../../../src/Door_accessory.js" dest="{{hap_dest}}/accessories/Door_accessory.js" |
30 notify: restart hap-nodejs service |
30 notify: restart hap-nodejs service |
31 |
31 |
32 - name: build HAP-NodeJS |
32 - name: build HAP-NodeJS |
33 command: "npm install" |
33 npm: path="{{hap_dest}}" |
34 args: |
|
35 chdir: "{{hap_dest}}" |
|
36 changed_when: false |
|
37 |
34 |
38 - name: configure systemd service |
35 - name: configure systemd service |
39 become: yes |
36 become: yes |
40 template: src="hap-nodejs.service.j2" dest="/lib/systemd/system/hap-nodejs.service" |
37 template: src="hap-nodejs.service.j2" dest="/lib/systemd/system/hap-nodejs.service" |
41 notify: restart hap-nodejs service |
38 notify: restart hap-nodejs service |