mirror of
https://gitea.0xace.cc/ansible-galaxy/pgbouncer.git
synced 2025-06-29 03:03:07 +00:00
split variables for RedHat and Debain os family
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
pgbouncer_postgresql_major_version: "15"
|
||||
pgbouncer_conf_dir: "/etc/pgbouncer"
|
||||
pgbouncer_conf_name: "pgbouncer.ini"
|
||||
pgbouncer_log_dir: "/var/log/pgbouncer"
|
||||
@ -14,7 +15,7 @@ pgbouncer_default_pool_mode: "session"
|
||||
pgbouncer_ignore_startup_parameters: "extra_float_digits,geqo"
|
||||
pgbouncer_auth_type: "hba"
|
||||
pgbouncer_auth_user: "postgres"
|
||||
pgbouncer_auth_hba_file: "{{ pgbouncer_postgresql_home_dir }}/{{ pgbouncer_postgresql_major_version }}/data/pg_hba.conf"
|
||||
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"
|
||||
|
Reference in New Issue
Block a user