1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/lib/ansible/utils
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
..
module_docs_fragments Postgres ssl mode prefer (#21498) 2017-02-16 11:29:43 -08:00
__init__.py limit extensions for files in group/host_vars dir 2015-05-23 20:34:08 +02:00
cmd_functions.py PEP 8 cleanup. (#20789) 2017-01-28 00:12:11 -08:00
color.py PEP 8 E111 & E114 cleanup. (#20838) 2017-01-30 15:01:47 -08:00
display.py fix cowsay for py3 2017-01-30 15:16:15 -05:00
encrypt.py Now that we convert salt inside of do_encryptas needed, keep salt as text type until then. 2016-10-20 22:49:30 -07:00
hashing.py Move uses of to_bytes, to_text, to_native to use the module_utils version (#17423) 2016-09-06 22:54:17 -07:00
helpers.py PEP 8 W291 whitespace cleanup. 2017-01-27 17:08:02 -08:00
listify.py remove bare vars and undefined from lookup lists (#17647) 2016-09-27 12:32:04 -04:00
module_docs.py PEP 8 indent cleanup. (#20800) 2017-01-29 07:28:53 +00:00
path.py added docs for new arg 2016-11-04 17:11:21 -04:00
shlex.py Move uses of to_bytes, to_text, to_native to use the module_utils version (#17423) 2016-09-06 22:54:17 -07:00
ssh_functions.py Check controlpersist (#17443) 2016-09-12 08:27:39 -07:00
unicode.py Move uses of to_bytes, to_text, to_native to use the module_utils version (#17423) 2016-09-06 22:54:17 -07:00
vars.py Fixing PEP8 errors in utils/vars.py 2017-02-13 16:13:40 -06:00