diff --git a/templates/postgresql.conf-13.j2 b/templates/postgresql.conf-13.j2 index d601d9f8..3da3cda7 100644 --- a/templates/postgresql.conf-13.j2 +++ b/templates/postgresql.conf-13.j2 @@ -89,7 +89,7 @@ tcp_user_timeout = {{ postgresql_tcp_user_timeout }} # TCP_USE # - Authentication - authentication_timeout = {{ postgresql_authentication_timeout }} # 1s-600s -password_encryption = {{ 'on' if postgresql_password_encryption else 'off' }} # md5 or scram-sha-256 +password_encryption = {{ postgresql_password_encryption|default('off') }} # md5 or scram-sha-256 db_user_namespace = {{ 'on' if postgresql_db_user_namespace else 'off' }} # GSSAPI using Kerberos diff --git a/vars/jammy.yml b/vars/jammy.yml new file mode 100644 index 00000000..57176995 --- /dev/null +++ b/vars/jammy.yml @@ -0,0 +1,3 @@ +--- +# PostgreSQL vars for Ubuntu Jammy (22.04LTS) +postgresql_systemctl_path: /bin