You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test
Strahinja Kustudic 32d6a354d7 postgresql_user: set encrypted as default and fix empty password reporting changed (#36931)
* Set encrypted as default and fix empty password reporting changed

* Starting with Postgres 10 `UNENCRYPTED` passwords are removed and
because of that this module fails with the default `encrypted=no`.
Also encrypted passwords are suported since version 7.2
(https://www.postgresql.org/docs/7.2/static/sql-createuser.html) which
went EOL in 2007 and since 7.3 it is the default. Because of this it
makes a lot more sense to make `encrypted=yes` the default. This won't
break backward compatibility, the module would just update the user's
password in the DB in the hashed format and everything else will work
like before. It's also a security bad practice to store passwords in
plain text. fixes #25823
* There was also a bug with `encrypted=yes` and an empty password always
reported as changed.
* Improved documentation for `encrypted`/`password` parameters, and
removed some obsolete notes about passlib.

* Fix clearing user's password to work with all versions of Postgres

* Add tests for clearing the user password

* Fix documentation atfer rebase

* Add changelog fragment
7 years ago
..
cache Update ansible-test sanity command. (#31958) 7 years ago
integration postgresql_user: set encrypted as default and fix empty password reporting changed (#36931) 7 years ago
legacy Use https for links to ansible.com domains. 7 years ago
results Collect data from integration test runs. (#28650) 7 years ago
runner [AWS] Add Ansible Version to botocore user agent string (#39993) 7 years ago
sanity postgresql_user: set encrypted as default and fix empty password reporting changed (#36931) 7 years ago
units Add the ability to specify an install_dir to the gem module (#38195) 7 years ago
utils Make docs-build sanity test disabled by default. 7 years ago