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
This commit is contained in:
Felix Fontein 2020-06-16 21:24:42 +02:00 committed by GitHub
parent 7ef43c60df
commit f16a93f976
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 37 additions and 36 deletions

View file

@ -79,7 +79,7 @@ options:
- The entries will be written out in a specific order.
With this option you can control by which field they are ordered first, second and last.
s=source, d=databases, u=users.
This option is deprecated since 2.9 and will be removed in 2.11.
This option is deprecated since 2.9 and will be removed in community.general 3.0.0.
Sortorder is now hardcoded to sdu.
type: str
default: sdu
@ -670,7 +670,8 @@ def main():
method=dict(type='str', default='md5', choices=PG_HBA_METHODS),
netmask=dict(type='str'),
options=dict(type='str'),
order=dict(type='str', default="sdu", choices=PG_HBA_ORDERS),
order=dict(type='str', default="sdu", choices=PG_HBA_ORDERS,
removed_in_version='3.0.0', removed_from_collection='community.general'),
state=dict(type='str', default="present", choices=["absent", "present"]),
users=dict(type='str', default='all')
)

View file

@ -330,7 +330,7 @@ EXAMPLES = r'''
type: foreign_data_wrapper
role: reader
# Available since Ansible 2.10
# Available since community.general 0.2.0
- name: GRANT ALL PRIVILEGES ON TYPE customtype TO reader
postgresql_privs:
db: test
@ -390,7 +390,7 @@ EXAMPLES = r'''
role: reader
target_roles: librarian
# Available since Ansible 2.10
# Available since community.general 0.2.0
- name: Grant type privileges for pg_catalog.numeric type to alice
postgresql_privs:
type: type