ansible/test/sanity
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
2018-05-21 14:49:44 -05:00
..
ansible-doc Remove remnants of obsolete fireball mode. 2016-12-09 16:56:34 -07:00
code-smell Make docs-build sanity test disabled by default. 2018-05-09 17:55:00 -07:00
compile Overhaul additional sanity tests. (#36803) 2018-02-27 15:05:39 -08:00
import vdirect modules: fix 'import' sanity test (#39706) 2018-05-03 18:13:06 -07:00
pep8 Explicitly exclude W504 (#38539) 2018-04-10 20:07:57 +01:00
pslint win_service: fix when dealing with paths with special chars and change WMI to CIM cmdlets (#37897) 2018-04-03 18:28:10 -07:00
pylint Fix use of bytes in cliconf plugins for Python 3 (#37715) 2018-04-17 10:15:21 -04:00
rstcheck Add rstcheck to ansible-test and correct issues. (#23550) 2017-04-13 10:28:52 -07:00
shellcheck Test cleanup. 2018-01-11 13:43:10 -08:00
validate-modules postgresql_user: set encrypted as default and fix empty password reporting changed (#36931) 2018-05-21 14:49:44 -05:00
yamllint Fix yamllinter handling of tuple assignment. 2018-03-22 23:14:21 -07:00
ansible.cfg Fix ansible-test config management. 2017-10-04 12:52:36 -07:00