/ansible-role-prometheus-pihole-exporter

Ansible role to install the eko/pihole-exporter Prometheus exporter

Primary LanguageShellGNU General Public License v3.0GPL-3.0

Prometheus PiHole Exporter

Ansible Role Molecule Test Status Ansible Quality Score Ansible Role

Description

Installs eko/pihole_exporter for Prometheus

Requirements

  • RHEL or Debian-based OSes

Role Variables

Variable Description
prometheus_pihole_exporter_base_url Base URL for other variables
prometheus_pihole_exporter_dl_url Tarball download URL
prometheus_pihole_exporter_bin Exporter binary
prometheus_pihole_exporter_full_bin Full path to exporter binary
prometheus_pihole_exporter_version Version to install
prometheus_pihole_exporter_user User to run the exporter as
prometheus_pihole_exporter_group Default group for the user to run as
prometheus_pihole_exporter_checksum SHA256 URL for tarball

Dependencies

  • Ansible Roles:
    • rgibert.user_setup
    • rgibert.single_binary_setup

Example Playbook

- hosts:
    - servers
  roles:
    - role: rgibert.prometheus_pihole_exporter
      prometheus_pihole_exporter_version: 0.0.6

License

GPLv3

Author Information

Richard Gibert
richard@gibert.ca
https://richard.gibert.ca/