Files
configpolicy/homeassistant.yml
Dustin C. Hatch 3998b08b10 homeassistant: Apply hass-dhcp role
Applying the *hass-dhcp* role the Home Assistant server, making it the
authoritative DHCP and DNS server for the home automation network.
2021-07-24 18:34:50 -05:00

26 lines
531 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
- role: zwavejs2mqtt
tags: zwavejs2mqtt
- role: zigbee2mqtt
tags: zigbee2mqtt
tasks:
- name: ensure homeassistant is running
service:
name: homeassistant
state: started
- name: ensure apache is running
service:
name: httpd
state: started