Minor Changes
- Remediate deprecated
warningsparameter inexit_jsoncalls by usingemit_warningsfromansible.netcommonacross cisco.ios modules to address deprecation warning from ansible-core 2.23. - Remove
ansible.module_utils.sixusage in favour of Python 3 builtins to prepare for ansible-core 2.24 removal. - Replace deprecated
ansible.module_utils._textimports withansible.module_utils.common.text.converters. - Replace deprecated
ansible.module_utils.common._collections_compatwithcollections.abcfrom the Python standard library. - Updated all
ResourceModule-based resource modules to emit warnings viaAnsibleModule.warn()before callingexit_json. - Updated standalone modules (
ios_banner,ios_command,ios_config,ios_facts,ios_ping,ios_system,ios_user,ios_vrf) to emit warnings viaAnsibleModule.warn()before callingexit_json.
Bugfixes
- ios_acls - Fixed ACL option fields with multi-word names (e.g, any_options, stream_id , no_op) failing due to missing underscore to hyphen conversion and vice-versa in setval and getval respectively