ansible-collection-prometheus/roles/systemd_exporter/templates/config.yaml.j2
Håvard Pettersson cd913f0083 Fix wrong variable in template
Signed-off-by: Håvard Pettersson <haavard.pettersson@gmail.com>
2023-08-25 05:35:25 +00:00

6 lines
198 B
Django/Jinja

---
{{ ansible_managed | comment }}
{% if systemd_exporter_tls_server_config | length > 0 %}
tls_server_config:
{{ systemd_exporter_tls_server_config | to_nice_yaml | indent(2, true) }}
{% endif %}