ansible/roles/snmp_exporter/templates/web-config.yml.j2

11 lines
323 B
Django/Jinja

---
tls_server_config:
key_file: {{ tls_private }}/nms.home.foo.sh.key
cert_file: {{ tls_certs }}/nms.home.foo.sh.crt
client_ca_file: {{ tls_certs }}/ca.crt
client_auth_type: RequireAndVerifyClientCert
client_allowed_sans:
{% for host in groups['prometheus'] %}
- {{ host }}
{% endfor %}
min_version: TLS13