2019-04-27 11:52:50 +00:00
|
|
|
---
|
|
|
|
- name: Restart homeassistant service
|
|
|
|
systemd:
|
|
|
|
state: restarted
|
|
|
|
daemon_reload: yes
|
|
|
|
name: homeassistant
|
|
|
|
listen: __homeassistant_restart
|
|
|
|
become: True
|
|
|
|
become_user: root
|
2019-04-27 12:30:38 +00:00
|
|
|
|
2019-05-04 20:59:18 +00:00
|
|
|
- name: Reload udev rules
|
|
|
|
command: "udevadm control --reload-rules"
|
2019-05-04 21:05:23 +00:00
|
|
|
changed_when: False
|
2019-05-04 20:59:18 +00:00
|
|
|
listen: __udev_reload
|
|
|
|
become: True
|
|
|
|
become_user: root
|