community.general/lib/ansible/modules/database/postgresql
Ted Timmons 5d9df86b42 Postgres ssl mode prefer (#21498)
* refactor postgres,
* adds a basic unit test module
* first step towards a common utils module
* set postgresql_db doc argument defaults to what the code actually uses

* unit tests that actually test a missing/found psycopg2, no dependency needed

* add doc fragments, use common args, ansible2ify the imports

* update dict

* add AnsibleModule import

* mv AnsibleModule import to correct file

* restore some database utils we need

* rm some more duplicated pg doc fragments

* change ssl_mode from disable to prefer, add update docs

* use LibraryError pattern for import verification

per comments on #21435. basically LibraryError and touching up its usage in pg_db and the tests.
2017-02-16 11:29:43 -08:00
..
__init__.py Some more module categorization. 2016-12-08 11:22:25 -05:00
postgresql_db.py Postgres ssl mode prefer (#21498) 2017-02-16 11:29:43 -08:00
postgresql_ext.py PEP 8 indent cleanup. (#20800) 2017-01-29 07:28:53 +00:00
postgresql_lang.py PEP 8 W291 whitespace cleanup. 2017-01-27 17:08:02 -08:00
postgresql_privs.py Postgres ssl mode prefer (#21498) 2017-02-16 11:29:43 -08:00
postgresql_schema.py fix failing fail_json call in postgresql_schema (#21495) 2017-02-16 11:26:40 -08:00
postgresql_user.py Postgres ssl mode prefer (#21498) 2017-02-16 11:29:43 -08:00