ansible/roles/prometheus_node/templates/default.j2

7 lines
188 B
Django/Jinja

{{ ansible_managed | comment }}
{% if prometheus_node__text_dir is defined %}
ARGS="--collector.textfile.directory={{ prometheus_node__text_dir | quote }}"
{% else %}
ARGS=""
{% endif %}