add default user custom name support

This commit is contained in:
ace 2023-06-13 21:33:28 +03:00
parent b0142125de
commit 6e5d3190ec
Signed by: ace
GPG Key ID: 2C08973DD37A76FD

View File

@ -15,7 +15,7 @@ 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: "postgres"
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 }}"