-
Notifications
You must be signed in to change notification settings - Fork 571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update password_encryption for PostgreSQL 10 #368
Conversation
With PostgreSQL 10, `password_encryption` is no longer a boolean. It expects either `md5` or `scram-sha-256`. The value `on` is kept as an alias of `md5` for backward compatibility.
Thanks @MiLk. Hoping this can be merged soon, since this role doesn't currently seem to work with Ansible 2.4.x when specifying PG 10. |
Ran into this today also. ETA on merge? |
Based on the documentation, "on/off" is still valid syntax... but the current code effectively prevents https://www.postgresql.org/docs/10/static/runtime-config-connection.html#GUC-PASSWORD-ENCRYPTION Do we also need to update the |
The default value in postgres being |
duplicated by #460, i propose to close this one |
I'll merge this one, and then #460 , to give credit as necessary. |
Update password_encryption for PostgreSQL 10
With PostgreSQL 10,
password_encryption
is no longer a boolean.It expects either
md5
orscram-sha-256
.The value
on
is kept as an alias ofmd5
for backward compatibility.