forked from credativ/ansible-playbook-patroni-debian
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vars.yml
62 lines (54 loc) · 1.85 KB
/
vars.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
use_certificates: false
# only required if `use_certificates: true`
#patroni_ca_dir: files/example_CA
dcs: "etcd"
# inventory group that contains the inventory_names of the
# dcs_servers
dcs_servers_group: dcs_servers
# same as previous for pgsql servers
pgsql_servers_group: pgsql_servers
dcs_port:
consul: 8500
zookeeper: 2181
etcd: 2379
consul_datacenter: "global"
consul_group: "consul"
postgresql_cluster_name: "test"
postgresql_major_version: "11"
postgresql_data_dir_base: "/var/lib/postgresql"
# network that can do queries
# by default network of default IP address is used
#postgresql_network: "10.0.0.016"
# network that can do replication
# by default network of default IP address is used
#postgresql_replication_network: "10.0.0.0/16"
patroni_postgres_pass: "SET ONE HERE!"
patroni_replication_pass: "SET ONE HERE!"
# patroni_rewind_pass needs to be set if pg_rewind is to be used to get
# diverged former primaries back online without a full re-clone
patroni_rewind_pass: "SET ONE HERE!"
# optional: use username/password for patroni restapi service
#
#patroni_restapi_username: restapi_user
#patroni_restapi_password: restapi_password
# vip-manager will manage the vip on each node if set
#
#vip: "10.0.1.1"
#vip_manager_hetzner_type: hetzner
# you need to create these in robot.your-server.de
# User Icon -> Settings -> Webservice- and App-Settings
# -> Webservice-/App-Access
#vip_manager_hetzner_user: hetzner_webapi_user
#vip_manager_hetzner_pass: hetzner_webapi_password
#vip_manager_hetzner_type: "hetzner_floating_ip"
#
# you'll need a vip-manager version that supports Floating IPs,
# such as this http://github.com/tpo/vip-manager/
#
# API token
#vip_manager_hetzner_tokn: "DXuia61JJaLJ2Je2jZjrnQ4zm7VcLTYvoo9dV5hpNGwgvM8mI9790niVt1IbN0sE"
# server ID
#vip_manager_hetzner_serv: "4319862"
# IP ID
#vip_manager_hetzner_ipid: "206698"