v1.3.0
版本发布时间: 2020-05-01 20:58:42
vitabaks/autobase最新发布版本:2.0.0(2024-08-19 02:48:10)
New features
-
Added WAL-G support (#32 thanks Anton Patsev @patsevanton ) Now you can deploy PostgreSQL high availability clusters as well as create replicas from wal-g backups. If variable
wal_g_install
istrue
, wal-g will be installed and the necessary parameters will be specified in the walg.json conf file in postgresql_home_dir, and patroni.yml will be prepared for using wal-g. See the variables:patroni_cluster_bootstrap_method
patroni_create_replica_methods
postgresql_restore_command
wal_g_install
,wal_g_ver
,wal_g_json
-
Added compatibility with Ubuntu 20.04 LTS (#35).
Enhancements
- VIP: make the cluster ip address as optional (176a36af69d50db62b8eb72f6b9d77a0fb610b47, 6d9b0fc820e836c4dd4235282c514232cd792b0d). Now you can deploy your custom schemes without using a cluster IP address (VIP) if necessary.
- postgresql: update to version 12 (by default) (a6a2ab03e942739fb43d81af560138ffa248902b)
- etcd: update to version 3.3.19 (by default) (1ec3fff53ac832c8741fde9d0d9c734f77b342a9).
- etcd: added compatibility with etcd version 3.4.x (1b05ba5c4c627f49561975588276f19410cc8200)
- haproxy: update to version 1.8.25 for haproxy_installation_method: "src" (a28d08e242351e606e2a9edc8836dcd16b055f9d).
- pgbouncer: disable log_connections and log_disconnections (b5e29a358c954678ce7482797ac90695c2fa364c).
- pgbouncer: auto-recovery of crashed pgbouncer.service with systemd (3444c3f468a872a5f2dd41ddf530d577bf8ca732).
- pgbouncer: increase listen_backlog to 4096 (2545b54a548f8b3506544f4a1b074aadf1a221a8).
- sysctl: add net backlog kernel parameters (567ebda2294a2e47bcb0755e2da401f7f5f1b10a).
- Added "python-consul" module in requirements. For support the "Consul" DCS (6391cfb42fc9dc4b4f44ffe3a096067de721010c).
- Code Refactoring (#33, #34)
Fixes
- vip-manager: create a conf directory if it does not exist (70796726430a8f0d8ce4089ea3eecbff8e28c764).
- specify "-U postgres" for the "get postgresql database list" task (ad5e21daa37b20b2b7dd414d793d40bb628ea176).
- сheck if postgresql packages are installed for postgresql_exists: "true" (a226a2049aa1f7c1998c1104f021ab2043980b1c).
- remove python2 package (no more required for pgbouncer) for RHEL/CentOS 8 (62282eb95504b532c2b53f2e5effba3ba0cf9d71).
- remove example ip address from cluster_vip (a36e4ddd81ca0aae27e22f96e64df0e51a11cfad).
- fixed yamllint and ansible-lint warnings/errors.
Tests
- Added ansible-lint and yamllint GitHub Actions workflow for linting playbooks.