patroni/defaults/main.yaml

42 lines
1.1 KiB
YAML
Raw Normal View History

2023-02-07 23:39:20 +00:00
# Patroni common options
2023-03-29 20:49:37 +00:00
patroni_version: "3.0.1"
patroni_install_official_repo: true
2023-02-07 23:39:20 +00:00
# Patroni cluster options
patroni_cluster_name: "patroni-cluster"
patroni_namespace: "/service/"
# Patroni PostgreSQL common options
2023-05-11 16:41:36 +00:00
patroni_postgresql_version: "15.3"
2023-02-20 12:08:07 +00:00
patroni_postgresql_install_repo: true
2023-03-29 20:49:37 +00:00
patroni_postgresql_system_locale: "en_US.UTF-8"
patroni_postgresql_system_language: "{{ patroni_postgresql_system_locale }}"
2023-02-07 23:39:20 +00:00
# Patroni superuser auth
patroni_superuser_username: "postgres"
patroni_superuser_password: "postgres"
# Patroni replication auth
patroni_replication_username: "replicator"
patroni_replication_password: "replicator"
# Patroni REST API options
patroni_restapi_username: "admin"
patroni_restapi_password: "admin"
patroni_restapi_listen_port: 8008
# Patroni SSL options
2023-02-20 12:08:07 +00:00
patroni_ssl: false
2023-02-07 23:39:20 +00:00
patroni_ssl_path: "/etc/patroni/ssl"
2023-02-20 12:08:07 +00:00
patroni_self_signed_cert: false
2023-02-07 23:39:20 +00:00
patroni_self_signed_cert_name: "cert"
2023-03-29 20:49:37 +00:00
patroni_play_group: "patroni"
2023-02-07 23:39:20 +00:00
## DCS options. Consul or Etcd
2023-02-20 12:08:07 +00:00
patroni_dcs_exists: false
2023-02-07 23:39:20 +00:00
patroni_dcs_type: "consul"
## Backup options
2023-02-20 12:08:07 +00:00
patroni_wal_g_install: false
2023-03-29 20:49:37 +00:00