suzuki-shunsuke.prometheus_node_exporter_config

ansible_role_prometheus_node_exporter_config

ansible role to configure prometheus's node_exporter

https://galaxy.ansible.com/suzuki-shunsuke/prometheus_node_exporter_config

GitHub last commit GitHub tag

This role doesn't install node_exporter's binary. If you want to install it, please use akoi and suzuki-shunsuke.akoi.

bin_path: /usr/local/bin/{{.Name}}-{{.Version}}
link_path: /usr/local/bin/{{.Name}}
packages:
  prometheus_node_exporter:
    url: https://github.com/prometheus/node_exporter/releases/download/v{{.Version}}/node_exporter-{{.Version}}.linux-amd64.tar.gz
    version: 0.16.0
    files:
    - name: node_exporter
      archive: node_exporter-{{.Version}}.linux-amd64/node_exporter

Requirements

  • systemd

Role Variables

Required variables are nothing.

name required default example description
prometheus_node_exporter_opts no --log.level="info"

And please see

Example Playbook

- hosts: servers
  roles:
  - role: suzuki-shunsuke.prometheus_node_exporter_config
    become: yes

License

MIT

About

ansible role to configure prometheus's node_exporter

Install
ansible-galaxy install suzuki-shunsuke.prometheus_node_exporter_config
GitHub repository
License
mit
Downloads
87
Owner
Platform Engineer / OSS Developer / Go