Fix wrong variable in template

Signed-off-by: Håvard Pettersson <haavard.pettersson@gmail.com>
This commit is contained in:
Håvard Pettersson 2023-08-24 16:40:52 +00:00
parent 3f6da9781b
commit cd913f0083

View file

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