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,10 @@
---
- name: "Configure | Deploy Alloy configuration"
notify: "(Re)start Alloy service"
ansible.builtin.template:
src: config.alloy.j2
dest: "{{ grafana_alloy_config_dir }}/config.alloy"
owner: "alloy"
group: "alloy"
mode: "0660"
validate: "alloy fmt %s"