xoxys.mosquitto/handlers/main.yml

11 lines
195 B
YAML

---
- name: Restart mosquitto service
systemd:
state: restarted
daemon_reload: yes
name: mosquitto
enabled: yes
listen: __mosquitto_restart
become: True
become_user: root