ansible/roles/node_exporter/templates/web-config.yml.j2
Markus Hauschild 990ce64971
Some checks failed
continuous-integration/drone/push Build is failing
node_exporter: use TLS and basic auth
2020-11-23 23:42:15 +01:00

7 lines
240 B
Django/Jinja

tls_server_config:
cert_file: /etc/node_exporter/{{ ansible_fqdn }}.crt
key_file: /etc/node_exporter/{{ ansible_fqdn }}.key
basic_auth_users:
prometheus: {{ prometheus_node_pass | password_hash('bcrypt', 'supersecret1salt1value') }}