Andrew Klychkov
ebb4600618
mysql and postgresql modules: fix seealso section ( #580 )
2020-06-25 12:09:13 +03:00
Amin Vakil
650ae65f24
collection: Change default='no's and 'yes's to default=False and default=True ( #556 )
...
* Change default={'no','yes'} to default={False,True}
* Add changelog
* Remove changelog
2020-06-22 15:56:35 +02:00
Andrew Klychkov
09e2b89d5b
modules: improve documentation ( #528 )
...
* modules: improve documentation
* Update plugins/modules/cloud/digital_ocean/digital_ocean_tag.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/database/postgresql/postgresql_privs.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/notification/slack.py
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
2020-06-17 14:14:19 +03:00
Felix Fontein
f16a93f976
Adjust removal versions ( #521 )
...
* Adjust 2.11 and later Ansible versions to collection versions.
* Remove unnecessary changelog.
* Adjust Ansible 2.10 to community.general 0.2.0 (first 'proper' release).
* Caught some non-properly prefixed versions.
* Update plugins/modules/database/mysql/mysql_replication.py
2020-06-16 21:24:42 +02:00
Felix Fontein
b54ddaa28c
Clean up deprecations ( #504 )
...
* Adjust deprecation versions.
* Remove redirects that are already made in ansible/ansible's ansible_builtin_runtime.yml
* Remove modules that were moved to the google.cloud collection according to ansible/ansible's ansible_builtin_runtime.yml.
* The _info module is in google.cloud.
* The gcp doc_fragment is a copy of the one in google.cloud and is only used by one lookup. Mark as deprecated/internal.
* Remove entries of modules that no longer exist.
* Update ignore.txt.
* Try to fix test.
* Remove debug output.
2020-06-16 13:15:19 +02:00
Felix Fontein
f9589d78a8
Add version_added for all new features ( #214 )
...
* Add version_added: 1.0.0 for all new features added before pre-ansible-base.
* Add version_added: 1.0.0 for all new features.
* Next release will be 0.2.0
* Fix error.
* Remove unnecessary warnings.
2020-06-13 15:01:19 +02:00
Andrew Klychkov
bf5856b10c
postgresql_db: add an example ( #387 )
2020-05-20 21:07:21 +03:00
Andrew Klychkov
5d226f86b6
Remove ANSIBLE_METADATA ( #339 )
...
* Remove ANSIBLE_METADATA
* remove from other modules
* remove from plugins and scripts
2020-05-14 14:03:42 +01:00
Andrew Klychkov
afe2946cce
postgresql_set: add trust_input parameter ( #302 )
...
* postgresql_set: add trust_input parameter
* add changelog fragment
* fix CI
2020-05-12 10:03:40 +03:00
Andrew Klychkov
31085fffb7
postgresql_ping: add session_role and trust_input parameters ( #312 )
...
* postgresql_ping: add session_role and trust_input parameters
* add changelog fragment
2020-05-12 09:34:28 +03:00
Andrew Klychkov
fce150fcf7
postgresql_copy: add trust_input parameter ( #313 )
...
* postgresql_copy: add trust_input parameter
* add changelog fragment
2020-05-12 09:33:42 +03:00
Thomas O'Donnell
51b8e79203
Refactor postgresql modules ( #291 )
...
* Refactor postgresql_idx to simplify code
Have refactored the postgresql_idx module to:
* Use the class schema in the drop function rather than a passed in one
* Remove the if/else and just return the bool in the drop and create
functions
* Refactor postgresql_ext module
Have refactored the postgresql_ext module to:
* Remove an unused exception
* Simplify logic in the create and update functions
* Use list comprehension to simplify getting the available version
* Refactor postgresql_user_obj_stat_info module
Have refactored the postgresql_user_obj_stat_info module to:
* Simplify the logic in some of the functions
* Reduce duplicate code
* Add changelog fragment
2020-05-12 09:32:06 +03:00
Thomas O'Donnell
571837b199
Add trust_input to postgresql_user_obj_stat_info ( #310 )
...
Have added a trust_input option to the postgresql_user_obj_stat_info
module. This only checks the session_role since all other options are
passed as parameters.
2020-05-10 15:56:19 +03:00
Andrew Klychkov
acc7bc1ea6
postgresql_info: add the trust_input parameter ( #308 )
...
* postgresql_info: add the trust_input parameter
* add changelog fragment
2020-05-09 11:24:20 +03:00
Andrew Klychkov
156d90ce90
postgresql_table: add the trust_input parameter ( #307 )
...
* postgresql_table: add the trust_input parameter
* add changelog fragment
2020-05-09 11:23:33 +03:00
Andrew Klychkov
55c1ece888
postgresql modules: improve trust_input parameter's documentation, improve CI tests ( #309 )
...
* postgresql modules: improve trust_input parameter's documentation, improve CI tests
* fix CI
2020-05-09 09:25:12 +03:00
Thomas O'Donnell
f887aff159
Add trust_input option to postgresql_slot module ( #298 )
...
* Add trust_input option to postgresql_slot module
Have added a trust_input option to the postgresql_slot module. This
only checks the session_role since all other options are passed as
parameters.
* Add Changelog fragment
* Update docs following PR review
2020-05-07 18:26:15 +03:00
Andrew Klychkov
c47a2128ca
postgresql_query: add trust_input parameter ( #294 )
...
* postgresql_query: add trust_input parameter
* add changelog fragment
* fix CI
2020-05-07 12:49:53 +03:00
Thomas O'Donnell
e4dd15a746
postgresql_sequence: add trust_input option ( #295 )
...
* Add trust_input option to postgresql_sequence
Have added the trust_input option to the postgresql_sequence module.
* Add changelog fragment
Have added a changelog fragment for these changes.
2020-05-07 09:07:49 +03:00
Andrew Klychkov
19cad71f25
postgresql_lang: add trust_input parameter ( #272 )
...
* postgresql_lan: add trust_input parameter
* add changelog fragment
2020-05-05 16:37:08 +03:00
Andrew Klychkov
e6b6c05bf7
postgresql_publication: add trust_input and session_role parameters ( #279 )
...
* postgresql_publication: add trust_input and session_role parameters
* add changelog fragment
2020-05-05 16:36:14 +03:00
Andrew Klychkov
30e84111f0
postgresql_subscription: add trust_input and session_role parameters ( #280 )
...
* postgresql_subscription: add trust_input and session_role parameters
* add changelog fragment
2020-05-05 16:35:34 +03:00
Andrew Klychkov
4c14956280
postgresql_idx: add trust_input parameter ( #264 )
...
* postgresql_idx: add trust_input parameter
* add changelog fragment
2020-05-05 16:33:06 +03:00
Thomas O'Donnell
6c1c1604fb
Add optional input check to postgresql_ext ( #282 )
...
* Add optional input check to postgresql_ext
Have added a new trust_input check to the postgresql_ext module that
allows for checking the input that is passed to the module.
* Add changelog fragment
* Update tests/integration/targets/postgresql_ext/tasks/postgresql_ext_initial.yml
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
2020-05-05 15:04:33 +03:00
Felix Fontein
a85b169a0e
Fix invalid 'sample' value (not a JSON value, since dictionary has non-string key). ( #262 )
2020-05-02 16:36:20 +03:00
Andrew Klychkov
01eee507f2
postgresql_tablespace: add trust_input parameter ( #240 )
...
* postgresql_tablespace: add trust_input parameter
* add changelog fragment
2020-05-01 14:10:13 +03:00
Andrew Klychkov
c68f17f09b
postgresql_schema: add trust_input parameter ( #259 )
...
* postgresql_schema: add trust_input parameter
* add changelog fragment
2020-05-01 14:09:23 +03:00
Andrew Klychkov
5febbca503
postgresql_owner: add trust_input parameter ( #198 )
...
* postgresql_owner: add trust_input parameter, allow to pass values containing dots to some parameters
* add changelog fragment
* fix CI
* fix CI
2020-04-28 10:42:08 +03:00
Andrew Klychkov
bb459cb014
postgresql_user: add scram-sha-256 password support ( #100 )
...
* postgresql_user: add support for scram-sha-256 passwords
* postgresql_user: add support for scram-sha-256 passwords
* add changelog fragment
* fix
2020-04-22 12:45:14 +01:00
Andrew Klychkov
5b1652e8fa
postgresql_db: add trust_input parameter ( #184 )
2020-04-20 09:38:35 +03:00
Andrew Klychkov
764cae9f33
postgresql_privs: add trust_input parameter ( #177 )
...
* postgresql_privs: add trust_input parameter
* add changelog fragment
2020-04-20 09:01:42 +03:00
Andrew Klychkov
3c24d1c03c
postgresql_user: add session_role parameter to check ( #179 )
2020-04-15 08:16:16 +03:00
Andrew Klychkov
4ad6ff50cd
postgresql_membership: add trust_input parameter ( #158 )
...
* postgresql_membership: add trust_input parameter
* add changelog fragment
* add session_role to check
2020-04-14 16:45:36 +03:00
Andrew Klychkov
2250e47de7
postgresql_membership: remove unused import of exec_sql function ( #178 )
...
* postgresql_membership: remove unused import of exec_sql function
* add changelog fragment
2020-04-14 11:15:53 +03:00
Felix Fontein
b161c59a05
Remove version_added from return values and docs fragments. ( #150 )
2020-04-13 08:19:41 +01:00
Andrew Klychkov
6d7f66539c
postgresql_user: add trust_input parameter ( #116 )
...
* postgresql: add input checks for potentially dangerous substrings
* postgresql_user: add trust_input parameter
* add CI, add changelog fragment
* fix CI
* moved input patterns outside is_input_dangerous function
* Update plugins/module_utils/database.py
Co-Authored-By: Thomas O'Donnell <andytom@users.noreply.github.com>
* Update plugins/module_utils/database.py
Co-Authored-By: Thomas O'Donnell <andytom@users.noreply.github.com>
* fix
Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
2020-04-12 13:16:44 +02:00
Andrew Klychkov
1c550cd4ef
postgres: make interfaces of exec_sql clearer ( #43 )
...
(cherry picked from commit fb6583a15c1f7fd8e48f4f3ef214ed4e74c3d8c6)
2020-03-25 11:44:28 +00:00
Andrew Klychkov
76e72c44cd
postgresql_info: remove unnecessary spaces ( #30 )
2020-03-23 12:51:13 +00:00
Thomas O'Donnell
c6a2559719
Fix false positive warnings for PostgreSQL User ( #17 )
...
This stops a the false positive warnings that the `no_password_changes`
doesn't have the `no_log` set.
2020-03-17 14:23:27 +00:00
Ansible Core Team
aebc1b03fd
Initial commit
2020-03-09 09:11:07 +00:00