Files
ansible.collection.globals/roles/grafana_alloy/tasks/main.yml
T

14 lines
428 B
YAML

- name: Render Alloy config
set_fact:
__mylimbo_globals_alloy_config_content: "{{ lookup('template', 'templates/config.alloy.j2') }}"
- name: Install Alloy
ansible.builtin.include_role:
name: grafana.grafana.alloy
vars:
# documentation:
# https://grafana.com/docs/grafana-cloud/observe-and-act/send-data/alloy/monitor/monitor-linux/
alloy_config: "{{ __mylimbo_globals_alloy_config_content }}"