hachyderm.general.pgbouncer role – Install and configure PgBouncer
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.pgbouncer.
Entry point main – Install and configure PgBouncer
Synopsis
Install and configure PgBouncer, a lightweight connection pooler for PostgreSQL.
Parameters
Parameter |
Comments |
|---|---|
List of database users that are allowed to connect and run all commands on the console. See admin_users. |
|
Dictionary of authentication settings used to create the authentication file. The key is the username. The value is the password hash. |
|
Dictionary of databases connections strings. The key is the database name. The value is the connection string. See Section [databases]. |
|
List of parameters to ignore in startup packets. The list will be transformed to a coma separated list in the configuration file. |
|
Specifies when a server connection can be reused by other clients. See pool_mode. Choices:
|
|
List of systemd units to wait before starting the service. |
|
List of database users that are allowed to connect and run read-only queries on the console. The list will be transformed to a coma separated list in the configuration file. See stats_users. |
|