observability/roles/grafana/handlers/main.yml

9 lines
221 B
YAML
Raw Normal View History

---
- name: Ensure grafana is restarted
community.general.docker_container:
name: "{{ grafana_container_name }}"
state: "started"
restart: true
when: "grafana_state == 'present'"
listen: grafana-restart