grafana-ansible-collection/roles/grafana_agent/templates/EnvironmentFile.j2
2023-03-27 10:06:27 +05:30

10 lines
268 B
Django/Jinja

{{ ansible_managed | comment }}
# Grafana Agent Environment File
AGENT_MODE={{ grafana_agent_mode }}
GOMAXPROCS={{ ansible_processor_vcpus|default(ansible_processor_count) }}
{% for key, value in grafana_agent_env_file_vars.items() %}
{{key}}={{value}}
{% endfor %}