src.nth.io/

summaryrefslogtreecommitdiff
path: root/roles/hap-nodejs/tasks/main.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/hap-nodejs/tasks/main.yaml')
-rw-r--r--roles/hap-nodejs/tasks/main.yaml32
1 files changed, 0 insertions, 32 deletions
diff --git a/roles/hap-nodejs/tasks/main.yaml b/roles/hap-nodejs/tasks/main.yaml
index 50ee6ed..e56fae8 100644
--- a/roles/hap-nodejs/tasks/main.yaml
+++ b/roles/hap-nodejs/tasks/main.yaml
@@ -29,43 +29,11 @@
group: "{{hap_user}}"
notify: restart hap-nodejs service
-- name: install python-shell npm packages
- become: yes
- npm: name="python-shell" global="yes"
- notify: restart hap-nodejs service
-
- name: remove example accessories
become: yes
file: path="{{hap_dest}}/accessories/{{item}}" state="absent"
with_items: "{{hap_example_accessories}}"
-- name: install door accessory
- become: yes
- copy:
- src: "../../../src/Door_accessory.js"
- dest: "{{hap_dest}}/accessories/Door_accessory.js"
- owner: "{{hap_user}}"
- group: "{{hap_user}}"
- notify: restart hap-nodejs service
-
-- name: create python dir
- become: yes
- file:
- path: "{{hap_dest}}/python"
- state: "directory"
- owner: "{{hap_user}}"
- group: "{{hap_user}}"
-
-- name: install doord.py
- become: yes
- copy:
- src: "../../../src/doord.py"
- dest: "{{hap_dest}}/python/doord.py"
- owner: "{{hap_user}}"
- group: "{{hap_user}}"
- mode: "0755"
- notify: restart hap-nodejs service
-
- name: build HAP-NodeJS
become: yes
become_user: "{{hap_user}}"