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

rgibert/ansible-role-prometheus-blackbox-exporter

Repository files navigation

Ansible Role - Prometheus blackbox_exporter

Ansible Role Molecule Test Status Ansible Quality Score Ansible Role

Description

Installs Prometheus's blackbox_exporter

Requirements

  • RHEL or Debian-based OSes

Role Variables

Variable Description
prometheus_blackbox_exporter_base_url Base URL for other variables
prometheus_blackbox_exporter_checksum SHA256 URL for tarball
prometheus_blackbox_exporter_dl_url Tarball download URL
prometheus_blackbox_exporter_version Version to install
prometheus_blackbox_exporter_user User to run the exporter as
prometheus_blackbox_exporter_group Default group for the user to run as
prometheus_blackbox_exporter_conf_path Path to the config file
prometheus_blackbox_exporter_port Port to listen on
prometheus_blackbox_exporter_conf_file Config file
prometheus_blackbox_exporter_config Contents for the configuration file

Dependencies

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

Example Playbook

- hosts:
    - servers
  roles:
    - role: rgibert.prometheus_blackbox_exporter
      prometheus_blackbox_exporter_version: 0.16.0

License

GPLv3

Author Information

Richard Gibert
[email protected]
https://richard.gibert.ca/