hachyderm.general.pgbackrest_exporter role – Install and configure pgBackRest Exporter

Note

This role is part of the hachyderm.general collection (version 1.0.0).

It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it use: ansible-galaxy collection install hachyderm.general.

To use it in a playbook, specify: hachyderm.general.pgbackrest_exporter.

Entry point main – Install and configure pgBackRest Exporter

Synopsis

Parameters

Parameter

Comments

pgbackrest_exporter_arch

string

Architecture of the system where the exporter will be installed.

Default: "x86_64"

pgbackrest_exporter_bin

path

Path to the exporter binary.

Default: "/usr/local/bin/pgbackrest_exporter"

pgbackrest_exporter_checksum

string

Checksum of the downloaded archive to avoid supply-chain attack.

Default: "1562febbb006e96236e30ad0098757724614b2f29f87c1d210fed9083c4c31b5"

pgbackrest_exporter_config_file

path

Path to the configuration file of pgBackRest.

Default: "/etc/pgbackrest/pgbackrest.conf"

pgbackrest_exporter_download_url

string

URL used to download the exporter archive.

Default: "https://github.com/woblerr/pgbackrest_exporter/releases/download/v{{ pgbackrest_exporter_version }}/pgbackrest_exporter-{{ pgbackrest_exporter_version }}-{{ pgbackrest_exporter_os }}-{{ pgbackrest_exporter_arch }}.tar.gz"

pgbackrest_exporter_group

string

Group to create for the user to run the exporter.

Default: "{{ pgbackrest_exporter_user }}"

pgbackrest_exporter_os

string

Operating system of where the exporter will be installed.

Default: "linux"

pgbackrest_exporter_port

integer

Port to listen for the exporter.

Default: 9854

pgbackrest_exporter_telemetry_path

string

Route to scrap metrics on the exporter.

Default: "/metrics"

pgbackrest_exporter_user

string

User to create to run the exporter.

Default: "pgbackrest-exp"

pgbackrest_exporter_version

string

Version of the exporter.

Default: "0.22.0"

Authors

  • Hachyderm contributors