changement variable postgresql_hosts
This commit is contained in:
parent
26c927d3fe
commit
d8e31ef297
|
@ -9,7 +9,8 @@ cluster_name: "mycluster"
|
|||
patroni_restapi_listen: "127.0.0.1"
|
||||
patroni_port: "8008"
|
||||
postgresql_hosts_cluster: []
|
||||
postgresql_host: 127.0.0.1
|
||||
postgresql_listen_ips: 127.0.0.1
|
||||
postgresql_connect_ip: 127.0.0.1
|
||||
postgresql_version: ''
|
||||
postgresql_replication_user: 'repl'
|
||||
postgresql_superuser: 'admin'
|
||||
|
|
|
@ -51,8 +51,8 @@ bootstrap:
|
|||
- replication
|
||||
|
||||
postgresql:
|
||||
listen: {{ postgresql_host }}:{{ postgresql_port }}
|
||||
connect_address: {{ postgresql_host }}:{{ postgresql_port }}
|
||||
listen: {{ postgresql_listen_ips }}:{{ postgresql_port }}
|
||||
connect_address: {{ postgresql_connect_ip }}:{{ postgresql_port }}
|
||||
bin_dir: /usr/lib/postgresql/{{ postgresql_version }}/bin/
|
||||
data_dir: /home/{{ cluster_name_host }}
|
||||
pgpass: /tmp/{{ cluster_name_host }}-pgpass
|
||||
|
|
Loading…
Reference in New Issue