ansible-infra/playbooks/roles/zigbee2mqtt/handlers/main.yaml

10 lines
246 B
YAML

- name: Restart zigbee2mqtt
ansible.builtin.systemd:
name: zigbee2mqtt
state: restarted
- name: Reload systemd-daemon and restart zigbee2mqtt
ansible.builtin.systemd:
name: zigbee2mqtt
state: restarted
daemon_reload: true