community.general/lib/ansible/modules/database
Pilou 460d932aa8 postgresql_user: fix bugs related to 'expires' option (#23862)
* Factorize tests related to no_password_change using an include task

* Refactor: deduplicate tasks

* postgresql_user: test 'expires' parameter

* Change 'valid until' even it's the only updated field

* value is changed when another value is provided

* value isn't returned when unset

* Remove unused variable

* psycopg2.extras.DictRow is able to handle comparison

* postgresql_user: simplify helper method

* postgresql_user: define variable just before using it

* Fix comparison between user input and applied configuration

* new test: adding an invalid attribute

* Refactor, add cleaning task

* Check that using same attribute a 2nd time does nothing

* Always try to remove created user

* postgresql_user: fix pep8
2017-06-11 14:48:39 -07:00
..
influxdb
misc
mongodb
mssql
mysql Pep8 fixes for mysql module (#23923) 2017-04-26 12:56:35 +01:00
postgresql postgresql_user: fix bugs related to 'expires' option (#23862) 2017-06-11 14:48:39 -07:00
proxysql fixed RETURN docs for modules (#24011) 2017-04-26 15:56:13 +01:00
vertica Vertica schema fix (#24915) 2017-05-23 10:49:54 -07:00
__init__.py