mirror of
https://gitea.0xace.cc/ansible-galaxy/pgbouncer.git
synced 2024-11-24 20:56:40 +00:00
fix listen_addr and listen_port
This commit is contained in:
parent
9668298b45
commit
6e4d37dbe4
@ -18,8 +18,8 @@ server_tls_sslmode = {{ pgbouncer_server_tls_sslmode }}
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
logfile = {{ pgbouncer_log_dir }}/{{ pgbouncer_log_name }}
|
logfile = {{ pgbouncer_log_dir }}/{{ pgbouncer_log_name }}
|
||||||
pidfile = {{ pgbouncer_pid_dir }}/{{ pgbouncer_pid_name }}
|
pidfile = {{ pgbouncer_pid_dir }}/{{ pgbouncer_pid_name }}
|
||||||
listen_addr = {{ hostvars[inventory_hostname]['inventory_hostname'] }}
|
listen_addr = {{ pgbouncer_listen_addr | default('0.0.0.0') }}
|
||||||
listen_port = {{ pgbouncer_listen_port | default(6432) }}
|
listen_port = {{ pgbouncer_listen_port | default('6432') }}
|
||||||
unix_socket_dir = /var/run/postgresql
|
unix_socket_dir = /var/run/postgresql
|
||||||
auth_type = {{ pgbouncer_auth_type }}
|
auth_type = {{ pgbouncer_auth_type }}
|
||||||
auth_file = {{ pgbouncer_auth_file }}
|
auth_file = {{ pgbouncer_auth_file }}
|
||||||
|
Loading…
Reference in New Issue
Block a user