1
0
Fork 0
mirror of https://gitlab.com/s3lph/ansible-collection-prometheus synced 2024-12-25 17:57:33 +01:00

Fix tls_config fields

This commit is contained in:
s3lph 2020-11-18 00:04:08 +01:00
parent cc4692b37d
commit b171046f4c

View file

@ -33,10 +33,10 @@
{% if 'tls_config' in job %}
tls_config:
ca_file: {{ tls_config.ca_file }}
cert_file: {{ tls_config.cert_file }}
key_file: {{ tls_config.key_file }}
insecure_skip_verify: {{ tls_config.key_file | default(false) }}
ca_file: {{ job.tls_config.ca_file }}
cert_file: {{ job.tls_config.cert_file }}
key_file: {{ job.tls_config.key_file }}
insecure_skip_verify: {{ job.tls_config.key_file | default(false) }}
{% endif -%}
static_configs: