mirror of
https://gitea.0xace.cc/ansible-galaxy/patroni.git
synced 2024-11-24 23:56:39 +00:00
make postgresql listen on all ip address
This commit is contained in:
parent
5ef777adf1
commit
cdfc282bf0
@ -123,7 +123,7 @@ bootstrap:
|
||||
|
||||
|
||||
postgresql:
|
||||
listen: {{ hostvars[inventory_hostname]['ansible_host'] }},127.0.0.1:{{ patroni_postgresql_port }}
|
||||
listen: 0.0.0.0:{{ patroni_postgresql_port }}
|
||||
connect_address: {{ hostvars[inventory_hostname]['ansible_host'] }}:{{ patroni_postgresql_port }}
|
||||
use_unix_socket: true
|
||||
data_dir: {{ patroni_postgresql_home_dir }}/{{ patroni_postgresql_major_version }}/{{ patroni_postgresql_cluster_name }}
|
||||
|
Loading…
Reference in New Issue
Block a user