mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-20 01:11:26 -07:00
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.
This commit is contained in:
parent
5324b98e8f
commit
b54ddaa28c
152 changed files with 647 additions and 2628 deletions
|
@ -13,7 +13,7 @@ DOCUMENTATION = '''
|
|||
module: github_hooks
|
||||
short_description: Manages GitHub service hooks.
|
||||
deprecated:
|
||||
removed_in: "2.12"
|
||||
removed_in: 2.0.0 # was Ansible 2.12
|
||||
why: Replaced by more granular modules
|
||||
alternative: Use M(github_webhook) and M(github_webhook_info) instead.
|
||||
description:
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
github_webhook_info.py
|
|
@ -121,7 +121,8 @@ def main():
|
|||
required_one_of=(("password", "token"), ),
|
||||
supports_check_mode=True)
|
||||
if module._name in ('github_webhook_facts', 'community.general.github_webhook_facts'):
|
||||
module.deprecate("The 'github_webhook_facts' module has been renamed to 'github_webhook_info'", version='2.13')
|
||||
module.deprecate("The 'github_webhook_facts' module has been renamed to 'github_webhook_info'",
|
||||
version='3.0.0', collection_name='community.general') # was Ansible 2.13
|
||||
|
||||
if not HAS_GITHUB:
|
||||
module.fail_json(msg=missing_required_lib('PyGithub'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue