hass/handlers/main.yml
2020-03-01 16:18:48 +01:00

11 lines
166 B
YAML

---
# handlers file for hass
- name: "restart hass"
service:
name: home-assistant
state: restarted
when: ansible_service_mgr == "systemd"
become: yes