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
6e4d37dbe4
commit
b0142125de
@ -5,7 +5,8 @@ pgbouncer_log_dir: "/var/log/pgbouncer"
|
|||||||
pgbouncer_pid_dir: "/tmp"
|
pgbouncer_pid_dir: "/tmp"
|
||||||
pgbouncer_pid_name: "pgbouncer.pid"
|
pgbouncer_pid_name: "pgbouncer.pid"
|
||||||
pgbouncer_log_name: "pgbouncer.log"
|
pgbouncer_log_name: "pgbouncer.log"
|
||||||
pgbouncer_listen_port: 6432
|
pgbouncer_listen_addr: '0.0.0.0'
|
||||||
|
pgbouncer_listen_port: '6432'
|
||||||
pgbouncer_systemd_user: "pgbouncer"
|
pgbouncer_systemd_user: "pgbouncer"
|
||||||
pgbouncer_systemd_group: "pgbouncer"
|
pgbouncer_systemd_group: "pgbouncer"
|
||||||
pgbouncer_max_client_conn: 10000
|
pgbouncer_max_client_conn: 10000
|
||||||
|
@ -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 = {{ pgbouncer_listen_addr | default('0.0.0.0') }}
|
listen_addr = {{ pgbouncer_listen_addr }}
|
||||||
listen_port = {{ pgbouncer_listen_port | default('6432') }}
|
listen_port = {{ pgbouncer_listen_port }}
|
||||||
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