diff --git a/lib/ansible/modules/network/iosxr/iosxr_banner.py b/lib/ansible/modules/network/iosxr/iosxr_banner.py index 18d74b1d705..06c80c196d6 100644 --- a/lib/ansible/modules/network/iosxr/iosxr_banner.py +++ b/lib/ansible/modules/network/iosxr/iosxr_banner.py @@ -234,8 +234,9 @@ def main(): config_object = None if is_cliconf(module): - module.deprecate(msg="cli support for 'iosxr_banner' is deprecated. Use transport netconf instead", - version="2.9") + # Commenting the below cliconf deprecation support call for Ansible 2.9 as it'll be continued to be supported + # module.deprecate("cli support for 'iosxr_interface' is deprecated. Use transport netconf instead", + # version='2.9') config_object = CliConfiguration(module) elif is_netconf(module): config_object = NCConfiguration(module) diff --git a/lib/ansible/modules/network/iosxr/iosxr_interface.py b/lib/ansible/modules/network/iosxr/iosxr_interface.py index 99fc095936e..c6e895923ea 100644 --- a/lib/ansible/modules/network/iosxr/iosxr_interface.py +++ b/lib/ansible/modules/network/iosxr/iosxr_interface.py @@ -637,8 +637,9 @@ def main(): config_object = None if is_cliconf(module): - module.deprecate("cli support for 'iosxr_interface' is deprecated. Use transport netconf instead", - version='2.9') + # Commenting the below cliconf deprecation support call for Ansible 2.9 as it'll be continued to be supported + # module.deprecate("cli support for 'iosxr_interface' is deprecated. Use transport netconf instead", + # version='2.9') config_object = CliConfiguration(module) elif is_netconf(module): if module.params['active'] == 'preconfigure': diff --git a/lib/ansible/modules/network/iosxr/iosxr_logging.py b/lib/ansible/modules/network/iosxr/iosxr_logging.py index 793ab8c9de4..1b19a5c9394 100644 --- a/lib/ansible/modules/network/iosxr/iosxr_logging.py +++ b/lib/ansible/modules/network/iosxr/iosxr_logging.py @@ -711,8 +711,9 @@ def main(): config_object = None if is_cliconf(module): - module.deprecate(msg="cli support for 'iosxr_logging' is deprecated. Use transport netconf instead", - version="2.9") + # Commenting the below cliconf deprecation support call for Ansible 2.9 as it'll be continued to be supported + # module.deprecate("cli support for 'iosxr_interface' is deprecated. Use transport netconf instead", + # version='2.9') config_object = CliConfiguration(module) elif is_netconf(module): config_object = NCConfiguration(module) diff --git a/lib/ansible/modules/network/iosxr/iosxr_system.py b/lib/ansible/modules/network/iosxr/iosxr_system.py index a17c2a1d756..66b316c6964 100644 --- a/lib/ansible/modules/network/iosxr/iosxr_system.py +++ b/lib/ansible/modules/network/iosxr/iosxr_system.py @@ -573,8 +573,9 @@ def main(): config_object = None if is_cliconf(module): - module.deprecate(msg="cli support for 'iosxr_system' is deprecated. Use transport netconf instead", - version="2.9") + # Commenting the below cliconf deprecation support call for Ansible 2.9 as it'll be continued to be supported + # module.deprecate("cli support for 'iosxr_interface' is deprecated. Use transport netconf instead", + # version='2.9') config_object = CliConfiguration(module) elif is_netconf(module): config_object = NCConfiguration(module) diff --git a/lib/ansible/modules/network/iosxr/iosxr_user.py b/lib/ansible/modules/network/iosxr/iosxr_user.py index 4015c7eb553..c96b12fd4c8 100644 --- a/lib/ansible/modules/network/iosxr/iosxr_user.py +++ b/lib/ansible/modules/network/iosxr/iosxr_user.py @@ -700,8 +700,9 @@ def main(): config_object = None if is_cliconf(module): - module.deprecate(msg="cli support for 'iosxr_user' is deprecated. Use transport netconf instead", - version="2.9") + # Commenting the below cliconf deprecation support call for Ansible 2.9 as it'll be continued to be supported + # module.deprecate("cli support for 'iosxr_interface' is deprecated. Use transport netconf instead", + # version='2.9') config_object = CliConfiguration(module, result) elif is_netconf(module): config_object = NCConfiguration(module, result)