hass/handlers/main.yml
2020-01-29 21:56:37 +01:00

9 lines
164 B
YAML

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