Add grafana_alloy role: scrape log files to Loki

This commit is contained in:
2026-07-06 13:07:50 +03:00
parent 5322a48353
commit bafa282482
11 changed files with 264 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
---
dependency:
name: galaxy
driver:
name: docker
platforms:
- name: rocky
image: geerlingguy/docker-${MOLECULE_DISTRO:-rockylinux9}-ansible:latest
pre_build_image: true
command: ${MOLECULE_DOCKER_COMMAND:-""}
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
cgroupns_mode: host
privileged: true
provisioner:
name: ansible
verifier:
name: ansible
lint: |
set -e
yamllint .
ansible-lint .