unbound_exporter: Initial version of role
This commit is contained in:
parent
d4bfc7586f
commit
ae491f8977
3 changed files with 52 additions and 0 deletions
11
roles/unbound_exporter/templates/web-config.yml.j2
Normal file
11
roles/unbound_exporter/templates/web-config.yml.j2
Normal file
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
tls_server_config:
|
||||
key_file: {{ tls_private }}/{{ inventory_hostname }}.key
|
||||
cert_file: {{ tls_certs }}/{{ inventory_hostname }}.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
|
Loading…
Add table
Add a link
Reference in a new issue