nginx_exporter First version of role

This commit is contained in:
Timo Makinen 2024-03-20 20:32:14 +00:00
parent 1952f5f96e
commit 92ca4fcba4
5 changed files with 125 additions and 0 deletions

View 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