ANXS / postgresql

Fairly full featured Ansible role for Postgresql.
http://anxs.io/
MIT License
850 stars 573 forks source link

Allow for SCRAM password encryption for versions >=10 #421

Closed nchudleigh closed 5 years ago

nchudleigh commented 5 years ago

Building on the work from this PR https://github.com/ANXS/postgresql/pull/368 by @MiLk

The update needed to be applied to version 11 as it was merged in a few days ago as well

I also added default handling that matches what is found in the defaults for each version.

Changes

version dependant default for postgresql_password_encryption directly applying the string option to password_encryption a bunch of white space clean ups that my editor found in the edited files ¯\_(ツ)_/¯