ansible_role_pgbouncer
Ansible role: PgBouncer
Ansible role for PgBouncer Lightweight connection pooler for PostgreSQL. Currently this works on Debian and RedHat based linux systems. Tested platforms are:
- Ubuntu 16.04
- CentOS 7
Requirements
None
Role Variables
The variables that can be passed to this role and a brief description about them are as follows. (For all variables, take a look at defaults/main.yml)
pgbouncer_listen_addr: 0.0.0.0
pgbouncer_listen_port: 6432
pgbouncer_auth_type: md5
pgbouncer_users:
- name: worker
pass: 123456
Dependencies
None
Example Playbook
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: pgbouncer
roles:
- role: mbaran0v.pgbouncer
License
MIT / BSD
Author Information
This role was created in 2019 by Maxim Baranov.
About
Prometheus PgBouncer exporter https://github.com/spreaker/prometheus-pgbouncer-exporter
Install
ansible-galaxy install mbaran0v/ansible-role-pgbouncer
License
Unknown
Downloads
230
Owner
Experienced DevOps Engineer