mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -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
|
@ -314,7 +314,7 @@ def main():
|
|||
'`manager_attribute_value` are deprecated. '
|
||||
'Use `manager_attributes` instead for passing in '
|
||||
'the manager attribute name and value pairs',
|
||||
version='2.13')
|
||||
version='3.0.0', collection_name='community.general') # was Ansible 2.13
|
||||
|
||||
# Return data back or fail with proper message
|
||||
if result['ret'] is True:
|
||||
|
|
|
@ -182,7 +182,8 @@ def main():
|
|||
is_old_facts = module._name in ('idrac_redfish_facts', 'community.general.idrac_redfish_facts')
|
||||
if is_old_facts:
|
||||
module.deprecate("The 'idrac_redfish_facts' module has been renamed to 'idrac_redfish_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
|
||||
|
||||
category = module.params['category']
|
||||
command_list = module.params['command']
|
||||
|
|
|
@ -267,7 +267,7 @@ def main():
|
|||
'bios_attribute_value']
|
||||
module.deprecate(msg='The bios_attribute_name/bios_attribute_value '
|
||||
'options are deprecated. Use bios_attributes instead',
|
||||
version='2.14')
|
||||
version='3.0.0', collection_name='community.general') # was Ansible 2.14
|
||||
|
||||
# boot order
|
||||
boot_order = module.params['boot_order']
|
||||
|
|
|
@ -308,7 +308,8 @@ def main():
|
|||
is_old_facts = module._name in ('redfish_facts', 'community.general.redfish_facts')
|
||||
if is_old_facts:
|
||||
module.deprecate("The 'redfish_facts' module has been renamed to 'redfish_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
|
||||
|
||||
# admin credentials used for authentication
|
||||
creds = {'user': module.params['username'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue