1.6.0
版本发布时间: 2022-04-20 22:38:58
vitabaks/postgresql_cluster最新发布版本:2.0.0(2024-08-19 02:48:10)
New features
- Add support for the Patroni standby cluster. Variable
patroni_standby_cluster
(8b002d1fedab29ee4987b9fef63d35fdabaaecd9) - Add role "netdata". Variables:
netdata_install
,netdata_install_options
,netdata_conf
(c1763679650613ce17c208e707002dde17ea3a04, a8f1c76cf9c43c764e92459bd6a5b390340ff7dd) - Add role "copy". Variables:
fetch_files_from_master
,copy_files_to_all_server
(https://github.com/vitabaks/postgresql_cluster/pull/154) - Add role "swap". Variables:
swap_file_create
,swap_file_path
,swap_file_size_mb
(https://github.com/vitabaks/postgresql_cluster/pull/160) - Add support Rocky Linux (e5f71a6b37e4470239027230494b62a2b12def29, 8873479dcf66033bf6ae317723589a9dbc3c175f)
- add support AlmaLinux (thanks @jonathanspw) (https://github.com/vitabaks/postgresql_cluster/pull/127)
- Add support pg_probackup for the Patroni cluster bootstrap and create replica (thanks @shipiguzev) (https://github.com/vitabaks/postgresql_cluster/pull/134, d4506a1ebe3723811dc7bb814c8a9d24c296df50, 9724859a96be4e76d20b902683ee8075dff3cba6)
Enhancements
- Enable
wal_compression
by default (thanks @NikolayS) (eba8fe74d60a003ff11b4a932a113c6059aba853) - Haproxy: add
haproxy_listen_port
variables (7474ba3379c7dc9595e6f3392d80ce8589233042, 3a0a036f8419a6279a21b992337eb5467d54db5f, 443346af74effba89a896533472f96c9e7b21da0) - Compatibility with Debian 11 "bullseye" (88b4879fd17d5e8b421a72b0095c9b9304ba1575)
- Update
postgresql_parameters
(64f39eef0514bebffc77eef2f7a4eceb2f5388d2, 4ed515a8f4ca87e8871045e621cd705af5a11bd4) - Added the possibility to add options to PostgreSQL roles (thanks @sjstoelting) (https://github.com/vitabaks/postgresql_cluster/pull/136)
- Changed PostgreSQL password encryption from
md5
toscram-sha-256
(thanks @sjstoelting) (https://github.com/vitabaks/postgresql_cluster/pull/138, 7b86d035fea25397ae33ea50b883fcb29141a888) - Add kernel parameter "
vm.overcommit_memory
" for postgres_cluster (62418e74a04bb9fdc22118c3c3180e496dfa3ce8) - Update etcd to v3.3.27 (32360376742dcc5c42fa27bc8a9a444fcfec4f55)
- Update vip-manager version to 1.0.2 (ea648eb4c3f2abdcd55bb9d963180e5e6e5c19e2)
- PostgreSQL 14 (by default) (62a0e7a3f395c22dd2009a57da32f21e3e12c023)
Fixes
- Fix: "urllib3 (1.26.6) or chardet (3.0.4) doesn't match a supported version" (33cad151d177e6544448d109cfeff82289dc64b2)
- Fix nf_conntrack_ipv4 modprobe for RHEL 8.3 and 8.4 (c899ed676f89a08fdc12e9f9c45a0d8d779d5928)
- netdata: Enable PowerTools repository for RHEL 8 (dee14e57a8c5737caaba3d0cfcc3f9588e4ee64b)
- Fix: HAProxy package version for Debian 11 (60c3d8c629626cf623681e5ff790aa662fa5cf6d)
- Fix: server certificate verification failed for apt.postgresql.org (Debian 9) (f4ee06c62e8928a47ebfda89abd664567bcc5547)
- Disable the "master is the leader with the lock" check for standby leader (2eda7aa2434c42a27bebe1e33b32b5b6d5fa1d87)
- Fix vip-manager URL for RedHat (thanks @nwaddon) (https://github.com/vitabaks/postgresql_cluster/pull/159)
Other
- Update requirements (requests>=2.25.1) (54294417e93754b1b1b68ba725a1da87c0b43688)
- Molecule: add namespace to meta/main.yml (0417a84bc22dd755a7abc4b8920e16c0a86ebad7)
- Move OS-specific variables to include_vars (e496a25854042c4047ca468e9324520744d02396)
- Add the "always" tag to include_vars (6acba3c5d646abeeb0783fa063e5fe6f14bd271d)
- Update galaxy_info (meta/main.yml) (0058bebad1d2ea9523674c4db34a9293c3081c8b)
- Add Port requirements to README (a477dc64d850acf8366bbe0141a6d7beda726449)
Tests
- Molecule: add Debian 11 "bullseye" (1684cfa351a1e6e496100ebe588d27494cb9e070)
- Molecule: add HAProxy installation tests (524663e1ddfb516e379702555f2d3d7e565a9d5f, a50a3d6c0a807a9392b1e95f9007115d8d630644)
- Update molecule.yml and add almalinux8 (4491d096a0533c103ea83e84e16ac171b41ed941)
- Fix ansible-lint error (cannot import name 'render_group') (af0bdf6a495dc92a236dbb51273b564831c91cd9)
- Update .ansible-lint (9cace0c6c0f04611ef733009cc8300a3f0a92cad)
- Update workflow ansible-lint (479d318c818befbee2338580b9720e3f9574a6fb, 9b6498a6c370ef0ead37487bd3841fa9d5a4bdc8)