roles/hap-nodejs/tasks/main.yaml
changeset 1 bc6a0f25a229
parent 0 30d8bcb1ebb4
child 7 55b8db128364
equal deleted inserted replaced
0:30d8bcb1ebb4 1:bc6a0f25a229
    20 
    20 
    21 - name: create python dir
    21 - name: create python dir
    22   file: path="{{hap_dest}}/python" state="directory"
    22   file: path="{{hap_dest}}/python" state="directory"
    23 
    23 
    24 - name: install doord.py
    24 - name: install doord.py
    25   copy: src="doord.py" dest="{{hap_dest}}/python/doord.py"
    25   copy: src="../../../src/doord.py" dest="{{hap_dest}}/python/doord.py"
    26   notify: restart hap-nodejs service
    26   notify: restart hap-nodejs service
    27 
    27 
    28 - name: install door accessory
    28 - name: install door accessory
    29   copy: 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   command: "npm install"
    34   args:
    34   args: