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
None
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
None
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
MIT / BSD
This role was created in 2019 by Maxim Baranov.