From 869eee0762ce71e71c09504de067d947fac0e291 Mon Sep 17 00:00:00 2001 From: George Nikolopoulos Date: Fri, 25 Aug 2017 20:51:15 +0300 Subject: [PATCH] Deprecate citrix/netscaler module (#28280) * Deprecate citrix/netscaler module * renamed: netscaler.py -> _netscaler.py * Fix legacy files list --- .../modules/network/citrix/{netscaler.py => _netscaler.py} | 3 ++- test/sanity/pep8/legacy-files.txt | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) rename lib/ansible/modules/network/citrix/{netscaler.py => _netscaler.py} (97%) diff --git a/lib/ansible/modules/network/citrix/netscaler.py b/lib/ansible/modules/network/citrix/_netscaler.py similarity index 97% rename from lib/ansible/modules/network/citrix/netscaler.py rename to lib/ansible/modules/network/citrix/_netscaler.py index 6cde802169c..c39e3665f79 100644 --- a/lib/ansible/modules/network/citrix/netscaler.py +++ b/lib/ansible/modules/network/citrix/_netscaler.py @@ -9,7 +9,7 @@ __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], + 'status': ['deprecated'], 'supported_by': 'community'} @@ -20,6 +20,7 @@ version_added: "1.1" short_description: Manages Citrix NetScaler entities description: - Manages Citrix NetScaler server and service entities. +deprecated: In 2.4 use M(netscaler_service) and M(netscaler_server) instead. options: nsc_host: description: diff --git a/test/sanity/pep8/legacy-files.txt b/test/sanity/pep8/legacy-files.txt index c16531202da..6ceb0f4109d 100644 --- a/test/sanity/pep8/legacy-files.txt +++ b/test/sanity/pep8/legacy-files.txt @@ -253,7 +253,7 @@ lib/ansible/modules/network/asa/asa_command.py lib/ansible/modules/network/asa/asa_config.py lib/ansible/modules/network/bigswitch/bigmon_chain.py lib/ansible/modules/network/bigswitch/bigmon_policy.py -lib/ansible/modules/network/citrix/netscaler.py +lib/ansible/modules/network/citrix/_netscaler.py lib/ansible/modules/net_tools/cloudflare_dns.py lib/ansible/modules/network/cumulus/_cl_bond.py lib/ansible/modules/network/cumulus/_cl_img_install.py