mirror of
https://gitea.0xace.cc/ansible-playbooks/patroni.git
synced 2025-06-29 01:23:07 +00:00
first commit
This commit is contained in:
18
inventory/group_vars/all.yaml
Normal file
18
inventory/group_vars/all.yaml
Normal file
@ -0,0 +1,18 @@
|
||||
consul_install_official_repo: false
|
||||
patroni_wal_g_install: false
|
||||
wal_g_config: >-
|
||||
{{
|
||||
{
|
||||
"AWS_ACCESS_KEY_ID": "YOUR_ACCESS_KEY_ID",
|
||||
"AWS_SECRET_ACCESS_KEY": "YOUR_SECRET_ACCESS_KEY",
|
||||
"AWS_ENDPOINT": "https://s3.amazon.com",
|
||||
"WALG_S3_PREFIX": "s3://wal-g/patroni-1",
|
||||
"WALG_LIBSODIUM_KEY": "29b43e2f46adcaf9f0d635d9fe4934e3227b3cbd13e2b19c7b28c16a581cc15c"
|
||||
"AWS_S3_FORCE_PATH_STYLE": "true"
|
||||
}
|
||||
}}
|
||||
|
||||
patroni_postgresql_dynamic_parameters:
|
||||
postgresql:
|
||||
parameters:
|
||||
max_connections: '2000'
|
9
inventory/hosts
Normal file
9
inventory/hosts
Normal file
@ -0,0 +1,9 @@
|
||||
[patroni]
|
||||
patroni-1 ansible_host=192.168.79.37
|
||||
patroni-2 ansible_host=192.168.79.94
|
||||
patroni-3 ansible_host=192.168.79.16
|
||||
|
||||
[consul_server]
|
||||
patroni-1 ansible_host=192.168.79.37
|
||||
patroni-2 ansible_host=192.168.79.94
|
||||
patroni-3 ansible_host=192.168.79.16
|
Reference in New Issue
Block a user