From de0acc9cfd67bcb03f4b0e3464be05fdd9be920f Mon Sep 17 00:00:00 2001 From: Tim Rupp Date: Wed, 29 Aug 2018 08:45:39 -0700 Subject: [PATCH] Deprecates bigip_gtm_facts (#44841) The code to support these facts has been added to bigip_device_facts. So it is no longer necessary to include this module. --- .../f5/{bigip_gtm_facts.py => _bigip_gtm_facts.py} | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) rename lib/ansible/modules/network/f5/{bigip_gtm_facts.py => _bigip_gtm_facts.py} (98%) diff --git a/lib/ansible/modules/network/f5/bigip_gtm_facts.py b/lib/ansible/modules/network/f5/_bigip_gtm_facts.py similarity index 98% rename from lib/ansible/modules/network/f5/bigip_gtm_facts.py rename to lib/ansible/modules/network/f5/_bigip_gtm_facts.py index 5bb23c41ed..1ee90cd63b 100644 --- a/lib/ansible/modules/network/f5/bigip_gtm_facts.py +++ b/lib/ansible/modules/network/f5/_bigip_gtm_facts.py @@ -9,7 +9,7 @@ __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['preview'], + 'status': ['deprecated'], 'supported_by': 'community'} DOCUMENTATION = r''' @@ -33,7 +33,16 @@ options: - Perform regex filter of response. Filtering is done on the name of the resource. Valid filters are anything that can be provided to Python's C(re) module. +deprecated: + removed_in: '2.11' + alternative: bigip_device_facts + why: > + The bigip_gtm_facts module is an outlier as all facts are being collected + in the bigip_device_facts module. Additionally, the M(bigip_device_facts) + module is easier to maintain and use. extends_documentation_fragment: f5 +notes: + - This module is deprecated. Use the C(bigip_device_facts) module instead. author: - Tim Rupp (@caphrim007) '''