xoxys.homeassistant_docker/handlers/main.yml
Robert Kaussow c24718759b
Some checks failed
continuous-integration/drone/push Build is failing
reload udev rules when changed
2019-05-04 22:59:18 +02:00

25 lines
499 B
YAML

---
- name: Restart homeassistant service
systemd:
state: restarted
daemon_reload: yes
name: homeassistant
listen: __homeassistant_restart
become: True
become_user: root
- name: Reload nginx
systemd:
state: reloaded
name: nginx
listen: __nginx_reload
delegate_to: "{{ homeassistant_nginx_server }}"
become: True
become_user: root
- name: Reload udev rules
command: "udevadm control --reload-rules"
listen: __udev_reload
become: True
become_user: root