mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-08 04:57:16 +00:00
Adjust deprecation versions.
This commit is contained in:
parent
f9589d78a8
commit
7bb008a964
136 changed files with 549 additions and 678 deletions
|
|
@ -330,7 +330,7 @@ EXAMPLES = r'''
|
|||
type: foreign_data_wrapper
|
||||
role: reader
|
||||
|
||||
# Available since version 2.10
|
||||
# Available since Ansible 2.10
|
||||
- name: GRANT ALL PRIVILEGES ON TYPE customtype TO reader
|
||||
postgresql_privs:
|
||||
db: test
|
||||
|
|
@ -359,7 +359,7 @@ EXAMPLES = r'''
|
|||
objs: ALL_IN_SCHEMA
|
||||
schema: common
|
||||
|
||||
# Available since version 2.8
|
||||
# Available since Ansible 2.8
|
||||
# ALTER DEFAULT PRIVILEGES FOR ROLE librarian IN SCHEMA library GRANT SELECT ON TABLES TO reader
|
||||
# GRANT SELECT privileges for new TABLES objects created by librarian as
|
||||
# default to the role reader.
|
||||
|
|
@ -390,7 +390,7 @@ EXAMPLES = r'''
|
|||
role: reader
|
||||
target_roles: librarian
|
||||
|
||||
# Available since version 2.10
|
||||
# Available since Ansible 2.10
|
||||
- name: Grant type privileges for pg_catalog.numeric type to alice
|
||||
postgresql_privs:
|
||||
type: type
|
||||
|
|
|
|||
|
|
@ -231,7 +231,8 @@ def main():
|
|||
is_old_facts = module._name in ('vertica_facts', 'community.general.vertica_facts')
|
||||
if is_old_facts:
|
||||
module.deprecate("The 'vertica_facts' module has been renamed to 'vertica_info', "
|
||||
"and the renamed one no longer returns ansible_facts", version='2.13')
|
||||
"and the renamed one no longer returns ansible_facts",
|
||||
version='3.0.0', collection_name='community.general') # was Ansible 2.13
|
||||
|
||||
if not pyodbc_found:
|
||||
module.fail_json(msg=missing_required_lib('pyodbc'), exception=PYODBC_IMP_ERR)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue