xoxys.zigbee2mqtt/handlers/main.yml
Robert Kaussow 08e654ccb8
Some checks failed
ci/woodpecker/manual/lint Pipeline failed
ci/woodpecker/manual/test unknown status
ci/woodpecker/manual/docs unknown status
ci/woodpecker/manual/notify Pipeline was successful
refacor: migrate to systemd
2024-10-16 22:27:11 +02:00

8 lines
241 B
YAML

---
- name: Restart zigbee2mqtt
ansible.builtin.service:
name: "zigbee2mqtt.service"
state: "{{ zigbee2mqtt_service_started | ternary('restarted', 'stopped', 'restarted') }}"
daemon_reload: True
listen: __zigbee2mqtt_restart