Skip to content

Commit

Permalink
Development (#552)
Browse files Browse the repository at this point in the history
* 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 <fravetier@vikta.com>
Co-authored-by: Pulse-Mind <pulse.mind.com@gmail.com>

* 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 <thierry.soulabail@developpement-durable.gouv.fr>
Co-authored-by: fravetier <fravetier@vikta.com>
Co-authored-by: Pulse-Mind <pulse.mind.com@gmail.com>
Co-authored-by: Laurent Lavaud <laurent.lavaud@developpement-durable.gouv.fr>
  • Loading branch information
5 people authored Nov 27, 2023
1 parent 2697f93 commit 495eb6b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion vars/postgresql_14.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
# PostgreSQL vars for v14
postgresql_client_connection_check_interval: 60
postgresql_password_encryption: md5
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.14.0
v1.14.2

0 comments on commit 495eb6b

Please sign in to comment.