hass/handlers/main.yml

11 lines
166 B
YAML
Raw Normal View History

2020-01-29 20:56:37 +00:00
---
# handlers file for hass
- name: "restart hass"
service:
name: home-assistant
state: restarted
when: ansible_service_mgr == "systemd"
2020-03-01 15:18:48 +00:00
become: yes