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