roles/hap-nodejs/defaults/main.yaml
changeset 8 e7007d23a144
parent 0 30d8bcb1ebb4
child 15 6913019b9492
--- a/roles/hap-nodejs/defaults/main.yaml	Mon Jan 29 22:45:54 2018 -0600
+++ b/roles/hap-nodejs/defaults/main.yaml	Mon Jan 29 23:19:00 2018 -0600
@@ -6,8 +6,8 @@
 hap_npm_packages:
   - "python-shell"
 
-hap_user: "pi"
+hap_user: "hap-nodejs"
 hap_restart_sec: 10
+hap_dir: "/home/{{hap_user}}"
 hap_src: "https://github.com/KhaosT/HAP-NodeJS/archive/master.zip"
-hap_home: "/home/{{hap_user}}/"
-hap_dest: "{{hap_home}}/HAP-NodeJS-master"
+hap_dest: "{{hap_dir}}/HAP-NodeJS-master"