radek_sprta.node_exporter

Ansible Role: Node exporter Ansible Role GitHub tag (latest SemVer) Ansible Role Ansible Role Pipeline status

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.

Role Variables

General options

  • 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.

Service options

  • node_exporter_enabled: Whether service should be enabled. Defaults to true.
  • node_exporter_state: Service state. Defaults to started.

Exporter options

  • 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'

Example Playbook

- hosts: all
  roles:
     - radek_sprta.node_exporter

License

MIT

Author Information

Radek Sprta mail@radeksprta.eu

Acknowledgements

Based on node_exporter by Jeff Geerling.

Install
ansible-galaxy install radek_sprta.node_exporter
GitHub repository
License
mit
Downloads
86