mysqld_exporter: Initial version of role

This commit is contained in:
Timo Makinen 2024-02-17 17:58:32 +00:00
parent 5751c77b8f
commit 8bc5793d70
7 changed files with 125 additions and 0 deletions

View file

@ -0,0 +1,6 @@
[client]
user = mysqld_exporter
password = {{ mysqld_exporter_pass }}
ssl-cert = {{ tls_certs }}/{{ inventory_hostname }}.crt
ssl-key = {{ tls_private }}/{{ inventory_hostname }}.key
ssl-ca = {{ tls_certs }}/ca.crt

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:
- prometheus01.home.foo.sh
- prometheus02.home.foo.sh
- prometheus03.home.foo.sh
- prometheus04.home.foo.sh
min_version: TLS13