2023-03-03 09:53:02 +01:00
|
|
|
{{ ansible_managed | comment }}
|
|
|
|
# Grafana Agent Environment File
|
|
|
|
AGENT_MODE={{ grafana_agent_mode }}
|
|
|
|
|
|
|
|
GOMAXPROCS={{ ansible_processor_vcpus|default(ansible_processor_count) }}
|
|
|
|
|
2023-03-27 06:36:27 +02:00
|
|
|
{% for key, value in grafana_agent_env_file_vars.items() %}
|
2023-03-03 09:53:02 +01:00
|
|
|
{{key}}={{value}}
|
|
|
|
{% endfor %}
|