Ansible Prometheus node_exporter role
- Debian Jessie or newer
see defaults/main.yml
- hosts: all
roles:
- role: SphericalElephant.prometheus-node-exporter
prometheus_node_exporter_file_sd: True
prometheus_node_exporter_file_sd_locations:
- { host: prometheus01.in.example.com, path: "/etc/prometheus/endpoints/node-{{ inventory_hostname }}.yml" }
Apache 2.0