sorrowless.prometheus_postgres_exporter
sbog/prometheus_postgres_exporter
An Ansible role which installs and configures Prometheus postgres_exporter on Linux
Requirements
Ansible 2.8+
Role Variables
You can see all vars in defaults/main.yml vars file.
If you use docker swarm, you should specify variables for the host on which
the container is supposed to be run, and also indicate the name of the swarm
manager through which the stack will be deployed in variable
postgres_exporter_swarm_manager
postgres_exporter_swarm_manager: swarm-manager01
For using multitarget configuration, change variable postgres_exporter_auth_modules.
For more details see repository.
Dependencies
None
Example Playbook
- name: Ensure prometheus_postgres_exporter
hosts: prometheus_postgres_exporters
remote_user: root
roles:
- prometheus_postgres_exporter
License
Apache 2.0
Author Information
This role was created by Stan Bogatkin.
Install
ansible-galaxy install sorrowless.prometheus_postgres_exporterLicense
apache-2.0
Downloads
4.2k
Owner
Barocco-style deployment engineer
