1.5.0
版本发布时间: 2021-08-23 18:06:31
vitabaks/postgresql_cluster最新发布版本:2.0.0(2024-08-19 02:48:10)
New features
- Custom WAL location ("
postgresql_wal_dir
" variable) (ac3850d2e513b0de563cfdbd8db18dfa56495222) - Allow conversion of the basic primary-standby replication to the patroni cluster (1b5516ea4d5d2183e2e9bd70f4e03822489086fd)
- Compatibility with Oracle Linux 7 and 8.
Enhancements
- Add "
disable_archive_command
" and "keep_patroni_dynamic_json
" variables (61bf839777987d999594fb0bf30ab9cc53f5a5c6) - patroni: add log settings (417297733e001545cc5086055659315b21334bd0)
- wal-g (custom bootstrap): Wait for PostgreSQL Recovery to complete (WAL apply) (a374b8d9bdee9ad892e49d094a3601625a7bc168)
- Allow execution of the "generate pg_hba.conf on Replica" task for RedHat-based systems, if the "postgresql_exists" variable is "true" (a7f683b5a5ea411b3b718c02af5d3da0ab57e20a)
- Allow to perform pg_hba tasks before executing the add_pgnode.yml playbook for cluster scaling:
ansible-playbook deploy_pgcluster.yml --tags pg_hba
(a7f683b5a5ea411b3b718c02af5d3da0ab57e20a) - Add "
haproxy_maxconn
" and "haproxy_timeout
" variables (1f0ac50874a8975d6ed5677a4171e2494498f80e, f190881e4280bf11f5ea04fdc67267dd9ed78d4e) - add sysctl parameter "
net.ipv4.tcp_tw_reuse
" (5046b7731cf0ff6355806fd6b1719fe921a784ca) - Add
--wait
and--timeout
options for pg_ctl stop command (923c776857ec9d629d563e68019baf1117890341) - Add Development repository for OracleLinux 7 (6463894761e9b2b4d50178c48194694ad387d3fa)
- Reinstall
glibc-common
to avoid problem when generating locales (for OracleLinux 7) (5837ae4151b819d35ae3606427113367c2776705) - pgbackrest: install gnupg and apt-transport-https packages (323ab6e64ec18f0bc06cf0865a31bc6fb2d7cee4)
- etcd: set "
initial-selection-tick-advance=false
" (0f651c7567d147f9837b2d83aa3253a4d84db01a) - etcd role: Make sure the unzip/tar packages are present (dd5ee624a1f213a1a725fac7f03f1f326a5a2c7d)
- etcd_ver: "v3.3.25" (dc49266013933767bd44b9f87fa367d3ba682464)
- wal_g_ver: "v0.2.19" (1b378073aebd84e02269500be943715f1a91d21b)
- postgresql: 13 (by default) (7b301b91a98b48946aaa3d80ef27d01b8eefb0e2)
Fixes
- Don't generate pg_hba.conf on every PITR (3952a492fa06964097e7d79d753fea7294086d4e)
- add extra_opts:
--no-same-owner
for unarchive module (f21316caf86956645d8844ae25bf8911de5263a8) - Restrict standard local port range (9bfb1511fca498d369e3ddb91083eb97653d76ef)
- fix issue with "is search" condition for ansible older then 2.9 (54ed66640cb0dce8e4bed6502be2896ddd32862a)
- do not generate pg_hba.conf on replica if postgresql_conf_dir=postgresql_data_dir (3128767da1547ed899917639da22de47f75a079a)
- check that the /etc/locale.conf exists (2575ed18f4e06bb6059413a4acfd0df24fea1095)
- Use
ansible_python_interpreter: /usr/bin/python3
for pip3 tasks (f14191a6188701cc462531cb9d71221c5e268c61)
Other
- comment out the example nameservers (88337b4337d5b0a3b1752ac9932eec59713fbdac)
- ansible: disable deprecation_warnings (06fb7afb90e32dcb1da4d9a85d66556ac59f99fa)
- Update requirements.txt (ff3e01e99bea45c3a2ecb149acbe0a9df923675d)
- remove wal_e vars (f5465618cc71fd9adf3471c888d1239f121c6268)
- Add meta/main.yml (c52b46c9320c4505a4514da5bfd626a8c86c76ac)
- Upgrade urllib3 to version 1.25.9 or later (e55d295fbf69cc57171636b122c71ea020990c2d)
Tests
- molecule: add nameservers to converge.yml (a581b49943ab745307074c4d6f68675303924189)
- Add molecule test for Oracle Linux 7 and 8 (e7af72a74563b20488111ba3ed8ac546f6151ff0, df59d7ed0472956f2a6649aaff06b3133f4c8adc)
- Update ansible-lint.yml (support for multiple versions of ansible) (fb6574c456ae7918e8514a5baa79fb255d7e5bfa, c768be6735f38e6362f31d31a31c8394faa8ab8c, 5aca26c42f02d01950a5a78007f96403422cc1ef, 6803bc95ccf833679b541584473ae035f45fe8da, 5e1dcea7885347b699f1535f030847f265ffe72c)
EOL
- Delete Ubuntu 16.04 from the list of supported OS (75afbc2a641ed1623e3a0f26ce7fa704a8126975)