homeassistant: Split out Zigbee/Zwave playbooks

To make it simpler to apply policy specifically for Zibgee2MQTT or
ZWaveJS2MQTT, I've split them into their own playbooks.
ntfy
Dustin 2021-08-21 17:36:23 -05:00
parent 74deb895ae
commit d446653296
4 changed files with 17 additions and 4 deletions

View File

@ -10,10 +10,6 @@
tags: homeassistant
- role: mosquitto
tags: mosquitto
- role: zwavejs2mqtt
tags: zwavejs2mqtt
- role: zigbee2mqtt
tags: zigbee2mqtt
tasks:
- name: ensure homeassistant is running
service:
@ -23,3 +19,6 @@
service:
name: httpd
state: started
- import_playbook: zwavejs2mqtt.yml
- import_playbook: zigbee2mqtt.yml

6
hosts
View File

@ -143,3 +143,9 @@ matrix0.pyrocufflink.blue
file0.pyrocufflink.blue
[zezere]
[zigbee2mqtt:children]
home-assistant
[zwavejs2mqtt:children]
home-assistant

4
zigbee2mqtt.yml Normal file
View File

@ -0,0 +1,4 @@
- hosts: zigbee2mqtt
roles:
- role: zigbee2mqtt
tags: zigbee2mqtt

4
zwavejs2mqtt.yml Normal file
View File

@ -0,0 +1,4 @@
- hosts: zwavejs2mqtt
roles:
- role: zwavejs2mqtt
tags: zwavejs2mqtt