mirror of
https://gitea.0xace.cc/ansible-galaxy/patroni.git
synced 2024-11-25 08:06:39 +00:00
42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
# Patroni common options
|
|
patroni_version: "3.0.1"
|
|
patroni_install_official_repo: true
|
|
|
|
# Patroni cluster options
|
|
patroni_cluster_name: "patroni-cluster"
|
|
patroni_namespace: "/service/"
|
|
|
|
# Patroni PostgreSQL common options
|
|
patroni_postgresql_version: "15.3"
|
|
patroni_postgresql_install_repo: true
|
|
patroni_postgresql_system_locale: "en_US.UTF-8"
|
|
patroni_postgresql_system_language: "{{ patroni_postgresql_system_locale }}"
|
|
|
|
# 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
|
|
patroni_ssl: false
|
|
patroni_ssl_path: "/etc/patroni/ssl"
|
|
patroni_self_signed_cert: false
|
|
patroni_self_signed_cert_name: "cert"
|
|
patroni_play_group: "patroni"
|
|
|
|
## DCS options. Consul or Etcd
|
|
patroni_dcs_exists: false
|
|
patroni_dcs_type: "consul"
|
|
|
|
## Backup options
|
|
patroni_wal_g_install: false
|
|
|