This role installs Prometheus' Node exporter on Linux hosts, and configures a systemd unit file so the service can run and be controlled by systemd.
node_exporter_arch
: Source architecture. Detected at runtime by default.node_exporter_version
: Node exporter version to install. Defaults to 1.3.1.node_exporter_download_url
: Download url.
node_exporter_enabled
: Whether service should be enabled. Defaults totrue
.node_exporter_state: Service state
. Defaults tostarted
.
node_exporter_listen_address
: IP address to listen on. Defaults to 0.0.0.0.node_exporter_options
: Map of options. Defaults to:
'log.level': 'info'
- hosts: all
roles:
- radek_sprta.node_exporter
MIT
Radek Sprta [email protected]
Based on node_exporter by Jeff Geerling.