homebridge/tasks/main.yaml
changeset 31 c51c4eaea2a7
parent 12 80a6e9af6aa9
child 32 78242f9f4010
--- a/homebridge/tasks/main.yaml	Sun May 24 20:04:59 2020 -0500
+++ b/homebridge/tasks/main.yaml	Sun May 24 20:34:57 2020 -0500
@@ -32,13 +32,13 @@
 - name: install platform accessories
   become: yes
   npm: name="{{item}}" global="yes"
+  with_items: "{{homebridge_npm_packages}}"
   notify: restart homebridge service
-  with_items: "{{homebridge_npm_packages}}"
 
 - name: configure homebridge
   become: yes
   template:
-    src: "config.json.j2"
+    src: "{{homebridge_config_template}}"
     dest: "{{homebridge_dir}}/config.json"
   notify: restart homebridge service