Deploys the Grafana stack (Prometheus/Alertmanager/Loki/Tempo/Grafana with Alloy as collector) and the ELK stack (Filebeat/Logstash/Elasticsearch/ Kibana) via Docker Compose on a target host. External to the application repo, pre-built by the mentor.
8 lines
166 B
YAML
8 lines
166 B
YAML
---
|
|
- name: Restart observability stack
|
|
community.docker.docker_compose_v2:
|
|
project_src: "{{ stack_root }}"
|
|
state: restarted
|
|
when: stack_root is defined
|
|
|