1
0
Fork 0
mirror of https://gitlab.com/s3lph/ansible-collection-prometheus synced 2024-10-22 19:36:59 +02:00

Add mTLS support for OpenBSD hosts

This commit is contained in:
s3lph 2020-11-18 02:32:28 +01:00
parent b7029130d4
commit a43ad48b3a

View file

@ -0,0 +1,8 @@
---
{{ ansible_managed | comment }}
tls_server_config:
cert_file: "{{ prometheus_node_tls_cert }}"
key_file: "{{ prometheus_node_tls_key }}"
client_auth_type: "{{ prometheus_node_tls_require_cert | ternary('RequireAndVerifyClientCert', 'NoClientCert') }}"
client_ca_file: "{{ prometheus_node_tls_ca }}"