mirror of
https://gitlab.com/s3lph/ansible-collection-prometheus
synced 2024-11-24 18:51:02 +01:00
Add mTLS support for OpenBSD hosts
This commit is contained in:
parent
b7029130d4
commit
a43ad48b3a
1 changed files with 8 additions and 0 deletions
|
@ -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 }}"
|
Loading…
Reference in a new issue