25 lines
513 B
YAML
25 lines
513 B
YAML
- hosts: home-assistant
|
|
roles:
|
|
- role: hass-dhcp
|
|
tags: hass-dhcp
|
|
- role: apache
|
|
vars:
|
|
default_apache_ssl_vhost: false
|
|
tags: apache
|
|
- role: homeassistant
|
|
tags: homeassistant
|
|
- role: mosquitto
|
|
tags: mosquitto
|
|
tasks:
|
|
- name: ensure homeassistant is running
|
|
service:
|
|
name: homeassistant
|
|
state: started
|
|
- name: ensure apache is running
|
|
service:
|
|
name: httpd
|
|
state: started
|
|
|
|
- import_playbook: zwavejs2mqtt.yml
|
|
- import_playbook: zigbee2mqtt.yml
|