bug fixs
This commit is contained in:
parent
bac4960ebb
commit
9b1307fba8
2 changed files with 3 additions and 3 deletions
|
@ -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…
Reference in a new issue