aboutsummaryrefslogtreecommitdiff
path: root/defaults/main.yml
blob: 745b9bba5e3d26139b946404f2c2c5c54097df7f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
node_exporter_ui_listen: ':9100'
node_exporter_home_dir: /var/lib/node_exporter
node_exporter_log: '{{node_exporter_home_dir}}/log'
node_exporter_version: "1.2.2"
# Should resolve to "linux"
node_exporter_os: "{{ansible_facts['system']|lower}}"
node_exporter_checksum: 344bd4c0bbd66ff78f14486ec48b89c248139cdd485e992583ea30e89e0e5390
# OpenBSD
# node_exporter_checksum: ec4901136e48207de37369c040cdaeeca6ebf9ae34e6cfbc28aad1a159440bae
node_exporter_architecture: amd64
node_exporter_url: "https://github.com/prometheus/node_exporter/releases/download/v{{node_exporter_version}}/node_exporter-{{node_exporter_version}}.{{node_exporter_os}}-{{node_exporter_architecture}}.tar.gz"


# Newlines are automatically replaced with spaces
node_exporter_opts: |
  --web.listen-address=":9100"

# Filtered through 'to_nice_yaml'
# node_exporter_web_config:
#   tls_server_config:
#     cert_file: '{{node_exporter_home_dir}}/conf/crt'
#     key_file: '{{node_exporter_home_dir}}/conf/key'
#     client_ca_file: '{{node_exporter_home_dir}}/conf/ca.crt'
#     client_auth_type: RequireAndVerifyClientCert


# Optional, if enabled the commented out vars will be written to disk
# If enabled it will automatically add the flag to read the web_config
# defined above
node_exporter_tls: false
# node_exporter_tls_ca:
# node_exporter_tls_key:
# node_exporter_tls_crt: