pgbouncer_postgresql_major_version: "15" pgbouncer_conf_dir: "/etc/pgbouncer" pgbouncer_conf_name: "pgbouncer.ini" pgbouncer_log_dir: "/var/log/pgbouncer" pgbouncer_pid_dir: "/tmp" pgbouncer_pid_name: "pgbouncer.pid" pgbouncer_log_name: "pgbouncer.log" pgbouncer_listen_addr: '0.0.0.0' pgbouncer_listen_port: '6432' pgbouncer_systemd_user: "pgbouncer" pgbouncer_systemd_group: "pgbouncer" pgbouncer_max_client_conn: 10000 pgbouncer_max_db_connections: 1000 pgbouncer_default_pool_size: 20 pgbouncer_default_pool_mode: "session" pgbouncer_ignore_startup_parameters: "extra_float_digits,geqo" pgbouncer_auth_type: "hba" pgbouncer_auth_user: "{{ pgbouncer_postgresql_superuser_username }}" pgbouncer_auth_hba_file: "{{ pgbouncer_postgresql_config_cluster_dir }}/pg_hba.conf" pgbouncer_auth_file_name: "userlist.txt" pgbouncer_auth_file: "{{ pgbouncer_conf_dir }}/{{ pgbouncer_auth_file_name }}" pgbouncer_admin_users: "postgres" pgbouncer_client_tls_sslmode: "require" pgbouncer_client_tls_key_file: "/etc/pki/tls/private/cert.key" pgbouncer_client_tls_cert_file: "/etc/pki/tls/cert/cert.crt" pgbouncer_client_tls_protocols: "tlsv1.3" pgbouncer_client_tls_ciphers: "secure" pgbouncer_server_tls_sslmode: "require" pgbouncer_server_tls_key_file: "/etc/pki/tls/private/cert.key" pgbouncer_server_tls_cert_file: "/etc/pki/tls/cert/cert.crt" pgbouncer_server_tls_protocols: "tlsv1.3" pgbouncer_server_tls_ciphers: "secure" pgbouncer_postgresql_host: "localhost" pgbouncer_postgresql_db: "postgres" pgbouncer_postgresql_superuser_username: "postgres" pgbouncer_postgresql_superuser_password: "postgres" pgbouncer_postgresql_auth_query: "select passwd from pg_shadow where usename = %s" pgbouncer_pools: - {name: "postgres", dbname: "postgres", pool_parameters: ""} # - {name: "mydatabase", dbname: "mydatabase", pool_parameters: "pool_size=20 pool_mode=transaction"} # - {name: "", dbname: "", pool_parameters: ""} # - {name: "", dbname: "", pool_parameters: ""} pgbouncer_postgresql_supported_versions: - 13 - 14 - 15