xoxys.homeassistant_docker/handlers/main.yml
Robert Kaussow 6fd6e85082
All checks were successful
continuous-integration/drone/push Build is passing
refactor: use generic ansible modules service and package
2021-06-05 15:30:50 +02:00

17 lines
342 B
YAML

---
- name: Restart homeassistant service
service:
state: restarted
daemon_reload: yes
name: homeassistant
listen: __homeassistant_restart
become: True
become_user: root
- name: Reload udev rules
command: "udevadm control --reload-rules"
changed_when: False
listen: __udev_reload
become: True
become_user: root