From 495eb6b0f657ee75eb44ffea0344a8625c1e3c2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=5Fchocolat?= Date: Mon, 27 Nov 2023 10:25:48 +0100 Subject: [PATCH] Development (#552) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * add PG14 support : scram * add PG14 support : scram * ajout PG15 * correction coquille * tests Ubuntu22 et Debian11 PG14/PG15 * tests paramètres PG14-PG15 * exemple molecule * Add Ubuntu 22.04, update fedora & deprecate old versions (#543) * Deprecated key gpg warning in Ubuntu 22.04 * Added Ubuntu 22.04 into the list of distribution * Migrate to fedora37 --------- Co-authored-by: fravetier Co-authored-by: Pulse-Mind * update README.md with newer versions & fix molecule tests * Fix Molecule CI workflow since docker plugin has moved. * molecule - allow rw on cgroup * CI - use /tmp directory * mk lint README.md & run playbook as root * fixing CI permissions issue * fix scram-sha-256 password encryption for pg >= 14 * Update version to v1.14.2 --------- Co-authored-by: Thierry.Soulabail Co-authored-by: fravetier Co-authored-by: Pulse-Mind Co-authored-by: Laurent Lavaud --- defaults/main.yml | 2 +- vars/postgresql_14.yml | 1 - version | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index b3494829..0d067081 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -148,7 +148,7 @@ postgresql_client_connection_check_interval: 0 # (>= 14) # - Authentication - postgresql_authentication_timeout: 60s -postgresql_password_encryption: "{{ 'md5' if postgresql_version is version_compare('10', '>=') else 'on' }}" # (>=10.0 set to scram-sha-256 for best security) +postgresql_password_encryption: "{{ 'scram-sha-256' if postgresql_version is version_compare('14', '>=') else 'md5' }}" # (>=14.0 set to scram-sha-256 for best security) postgresql_db_user_namespace: off # GSSAPI using Kerberos diff --git a/vars/postgresql_14.yml b/vars/postgresql_14.yml index cfde9ce6..e8a3b4a8 100644 --- a/vars/postgresql_14.yml +++ b/vars/postgresql_14.yml @@ -1,4 +1,3 @@ --- # PostgreSQL vars for v14 postgresql_client_connection_check_interval: 60 -postgresql_password_encryption: md5 diff --git a/version b/version index 79f9beba..47157838 100644 --- a/version +++ b/version @@ -1 +1 @@ -v1.14.0 +v1.14.2