Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.

Latest commit

 

History

History
29 lines (20 loc) · 659 Bytes

File metadata and controls

29 lines (20 loc) · 659 Bytes

Prometheus node_exporter

Ansible Prometheus node_exporter role

Requirements

  • Debian Jessie or newer

Role Variables

see defaults/main.yml

Example Playbook

- 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" }

License

Apache 2.0