src.nth.io/

summaryrefslogtreecommitdiff
path: root/roles/hap-door/tasks
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2020-06-02 19:11:08 -0500
committerLuke Hoersten <[email protected]>2020-06-02 19:11:08 -0500
commit4a7f13ec6c0fd59bed009f31b62674f279a58213 (patch)
tree274f1d4728acab943e235733e57cf4ea4bd56c5b /roles/hap-door/tasks
parent247670f0d69b3269f88630071b246d38238f26ca (diff)
Updated homekit door for Raspbian Buster.
Diffstat (limited to 'roles/hap-door/tasks')
-rw-r--r--roles/hap-door/tasks/main.yaml38
1 files changed, 0 insertions, 38 deletions
diff --git a/roles/hap-door/tasks/main.yaml b/roles/hap-door/tasks/main.yaml
deleted file mode 100644
index 7e1669f..0000000
--- a/roles/hap-door/tasks/main.yaml
+++ /dev/null
@@ -1,38 +0,0 @@
----
-
-- name: install python3 apt packages
- become: yes
- apt: name="python3"
- 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: 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