mirror of
https://gitea.0xace.cc/ansible-galaxy/postgresql.git
synced 2025-06-28 18:03:08 +00:00
add rhel 9 and debian 11 support
This commit is contained in:
@ -1,19 +1,22 @@
|
||||
postgresql_version: "14.6"
|
||||
postgresql_version: "15.2"
|
||||
|
||||
# Options
|
||||
postgresql_superuser_db: "postgres"
|
||||
postgresql_superuser_name: "postgres"
|
||||
postgresql_superuser_password: "postgres"
|
||||
|
||||
# SSL options
|
||||
postgresql_ssl: yes
|
||||
postgresql_ssl_path: "/var/lib/pgsql/{{ postgresql_major_version }}"
|
||||
postgresql_self_signed_cert: yes
|
||||
postgresql_ssl: true
|
||||
postgresql_group: "postgresql"
|
||||
postgresql_self_signed_cert: true
|
||||
postgresql_self_signed_cert_name: "cert"
|
||||
|
||||
## Backup options
|
||||
postgresql_wal_g_install: no
|
||||
postgresql_wal_g_install: false
|
||||
|
||||
postgresql_password_encryption_algorithm: "scram-sha-256"
|
||||
postgresql_default_parameters:
|
||||
data_directory: '{{ postgresql_data_dir }}'
|
||||
listen_addresses: '*'
|
||||
max_connections: '1000'
|
||||
superuser_reserved_connections: '5'
|
||||
@ -37,10 +40,10 @@ postgresql_default_parameters:
|
||||
log_timezone: 'Europe/Moscow'
|
||||
datestyle: 'iso, mdy'
|
||||
timezone: 'Europe/Moscow'
|
||||
lc_messages: 'en_US.UTF-8'
|
||||
lc_monetary: 'en_US.UTF-8'
|
||||
lc_numeric: 'en_US.UTF-8'
|
||||
lc_time: 'en_US.UTF-8'
|
||||
lc_messages: '{{ postgresql_system_locale | default("en_US.UTF-8") }}'
|
||||
lc_monetary: '{{ postgresql_system_locale | default("en_US.UTF-8") }}'
|
||||
lc_numeric: '{{ postgresql_system_locale | default("en_US.UTF-8") }}'
|
||||
lc_time: '{{ postgresql_system_locale | default("en_US.UTF-8") }}'
|
||||
default_text_search_config: 'pg_catalog.english'
|
||||
password_encryption: '{{ postgresql_password_encryption_algorithm }}'
|
||||
|
||||
@ -55,4 +58,3 @@ postgresql_supported_versions:
|
||||
- 13
|
||||
- 14
|
||||
- 15
|
||||
|
||||
|
Reference in New Issue
Block a user