ansible/roles/grafana/handlers/main.yaml

12 lines
257 B
YAML
Raw Normal View History

2019-12-02 02:40:29 +00:00
---
- name: grafana daemon-reload
2022-08-31 18:03:18 +00:00
ansible.builtin.systemd:
2019-12-02 02:40:29 +00:00
name: "{{ grafana_service_name }}"
2022-08-31 18:03:18 +00:00
daemon_reload: true
2019-12-02 02:40:29 +00:00
state: restarted
- name: restart grafana
2022-08-31 18:03:18 +00:00
ansible.builtin.service:
2019-12-02 02:40:29 +00:00
name: "{{ grafana_service_name }}"
state: restarted