easy-pgbouncer is a role that install and configures pgbouncer for PostgreSQL databases.
In order to enable and use pgbouncer PostgreSQL must be installed on the server.
- max_connections: 200
- hba_file_location: '/pgsql-data/pg_hba.conf'
- bouncer_pool_mode: 'session'
- default_pool_size: 100
---
- hosts: all
become: true
roles:
- easy-pgbouncer
vars:
max_connections: 200
hba_file_location: /pgsqldata/hba.conf
bouncer_pool_mode: session
default_pool_size: 100
BSD
Hüseyin Demir