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:
parent
cc4692b37d
commit
b171046f4c
1 changed files with 4 additions and 4 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue