monitoring
histausse 3 years ago
parent bac4960ebb
commit 9b1307fba8
Signed by: histausse
GPG Key ID: 67486F107F62E9E9

@ -67,7 +67,7 @@
dest: "/tmp/ansible_hacky_pki_ca.key" dest: "/tmp/ansible_hacky_pki_ca.key"
mode: u=rw,g=,o= mode: u=rw,g=,o=
delegate_to: localhost delegate_to: localhost
no_log: yes no_log: true
- name: Sign the certificate - name: Sign the certificate
become: false become: false

@ -1,7 +1,7 @@
{{ ansible_managed | comment }} {{ ansible_managed | comment }}
tls_server_config: tls_server_config:
cert_file: "/etc/node_exporter/{{ lan_address }}.crt" cert_file: "/etc/node_exporter/node-exp-{{ lan_address }}.crt"
key_file: "/etc/node_exporter/{{ lan_address }}.key" key_file: "/etc/node_exporter/node-exp-{{ lan_address }}.key"
client_auth_type: "RequireAndVerifyClientCert" client_auth_type: "RequireAndVerifyClientCert"
client_ca_file: "/etc/node_exporter/ca.crt" client_ca_file: "/etc/node_exporter/ca.crt"

Loading…
Cancel
Save