add pending restart feature and bump postgresql default version to 15.4

This commit is contained in:
ace
2023-08-11 12:56:00 +03:00
parent 00856ecbd3
commit 43c8d3baa4
4 changed files with 58 additions and 9 deletions

View File

@ -1,13 +1,14 @@
# Patroni common options
patroni_version: "3.0.4"
patroni_install_official_repo: true
patroni_play_group: "patroni"
# Patroni cluster options
patroni_cluster_name: "patroni-cluster"
patroni_namespace: "/service/"
# Patroni PostgreSQL common options
patroni_postgresql_version: "15.3"
patroni_postgresql_version: "15.4"
patroni_postgresql_install_repo: true
patroni_postgresql_system_locale: "en_US.UTF-8"
patroni_postgresql_system_language: "{{ patroni_postgresql_system_locale }}"
@ -31,7 +32,6 @@ 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
@ -113,7 +113,6 @@ patroni_postgresql_default_parameters:
superuser_reserved_connections: "5"
password_encryption: "{{ patroni_postgresql_password_encryption_algorithm }}"
max_locks_per_transaction: "64"
max_prepared_transactions: "0"
huge_pages: "try"
shared_buffers: "{{ (ansible_memory_mb.real.total * 0.25) | round | int }}MB"
max_worker_processes: "{{ ansible_processor_vcpus }}"