2018-11-11 02:11:10 +00:00
|
|
|
---
|
2024-10-16 20:27:11 +00:00
|
|
|
- name: Restart zigbee2mqtt
|
|
|
|
ansible.builtin.service:
|
|
|
|
name: "zigbee2mqtt.service"
|
|
|
|
state: "{{ zigbee2mqtt_service_started | ternary('restarted', 'stopped', 'restarted') }}"
|
|
|
|
daemon_reload: True
|
2018-11-11 02:11:10 +00:00
|
|
|
listen: __zigbee2mqtt_restart
|