mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-18 23:19:09 -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
|
@ -69,7 +69,8 @@ def main():
|
|||
argument_spec = DigitalOceanHelper.digital_ocean_argument_spec()
|
||||
module = AnsibleModule(argument_spec=argument_spec)
|
||||
if module._name in ('digital_ocean_account_facts', 'community.general.digital_ocean_account_facts'):
|
||||
module.deprecate("The 'digital_ocean_account_facts' module has been renamed to 'digital_ocean_account_info'", version='2.13')
|
||||
module.deprecate("The 'digital_ocean_account_facts' module has been renamed to 'digital_ocean_account_info'",
|
||||
version='3.0.0', collection_name='community.general') # was Ansible 2.13
|
||||
try:
|
||||
core(module)
|
||||
except Exception as e:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue