1
0
Fork 0
mirror of https://gitlab.com/s3lph/ansible-collection-prometheus synced 2024-11-25 03:01:08 +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 %} {% if 'tls_config' in job %}
tls_config: tls_config:
ca_file: {{ tls_config.ca_file }} ca_file: {{ job.tls_config.ca_file }}
cert_file: {{ tls_config.cert_file }} cert_file: {{ job.tls_config.cert_file }}
key_file: {{ tls_config.key_file }} key_file: {{ job.tls_config.key_file }}
insecure_skip_verify: {{ tls_config.key_file | default(false) }} insecure_skip_verify: {{ job.tls_config.key_file | default(false) }}
{% endif -%} {% endif -%}
static_configs: static_configs: