ansible/roles/monitoring/handlers/main.yaml

18 lines
376 B
YAML

---
- ansible.builtin.import_tasks:
file: ../../common/handlers/main.yaml
- name: restart mqtt_exporter
ansible.builtin.systemd:
name: mqtt_exporter
state: restarted
- name: restart prometheus
ansible.builtin.systemd:
name: prometheus
state: restarted
- name: restart grafana
ansible.builtin.systemd:
name: grafana-server
state: restarted