summaryrefslogtreecommitdiff
path: root/lib/ansible
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ansible')
-rw-r--r--lib/ansible/module_utils/common/removed.py13
-rw-r--r--lib/ansible/modules/cloud/amazon/_ec2_ami_find.py18
-rw-r--r--lib/ansible/modules/cloud/amazon/_ec2_ami_search.py19
-rw-r--r--lib/ansible/modules/cloud/amazon/_ec2_facts.py19
-rw-r--r--lib/ansible/modules/cloud/amazon/_ec2_remote_facts.py18
-rw-r--r--lib/ansible/modules/cloud/amazon/_ec2_vpc.py18
-rw-r--r--lib/ansible/modules/cloud/amazon/_s3.py19
-rw-r--r--lib/ansible/modules/cloud/azure/_azure.py19
-rw-r--r--lib/ansible/modules/cloud/cloudstack/_cs_nic.py19
-rw-r--r--lib/ansible/modules/cloud/docker/_docker.py21
-rw-r--r--lib/ansible/modules/cloud/openstack/_os_server_actions.py19
-rw-r--r--lib/ansible/modules/cloud/vmware/_vsphere_guest.py19
-rw-r--r--lib/ansible/modules/clustering/k8s/_kubernetes.py18
-rw-r--r--lib/ansible/modules/clustering/openshift/_oc.py21
-rw-r--r--lib/ansible/modules/crypto/acme/_letsencrypt.py31
-rw-r--r--lib/ansible/modules/network/aos/_aos_asn_pool.py15
-rw-r--r--lib/ansible/modules/network/aos/_aos_blueprint.py15
-rw-r--r--lib/ansible/modules/network/aos/_aos_blueprint_param.py15
-rw-r--r--lib/ansible/modules/network/aos/_aos_blueprint_virtnet.py15
-rw-r--r--lib/ansible/modules/network/aos/_aos_device.py15
-rw-r--r--lib/ansible/modules/network/aos/_aos_external_router.py15
-rw-r--r--lib/ansible/modules/network/aos/_aos_ip_pool.py15
-rw-r--r--lib/ansible/modules/network/aos/_aos_logical_device.py15
-rw-r--r--lib/ansible/modules/network/aos/_aos_logical_device_map.py15
-rw-r--r--lib/ansible/modules/network/aos/_aos_login.py15
-rw-r--r--lib/ansible/modules/network/aos/_aos_rack_type.py15
-rw-r--r--lib/ansible/modules/network/aos/_aos_template.py15
-rw-r--r--lib/ansible/modules/network/citrix/_netscaler.py19
-rw-r--r--lib/ansible/modules/network/cumulus/_cl_bond.py20
-rw-r--r--lib/ansible/modules/network/cumulus/_cl_bridge.py20
-rw-r--r--lib/ansible/modules/network/cumulus/_cl_img_install.py20
-rw-r--r--lib/ansible/modules/network/cumulus/_cl_interface.py20
-rw-r--r--lib/ansible/modules/network/cumulus/_cl_interface_policy.py20
-rw-r--r--lib/ansible/modules/network/cumulus/_cl_license.py20
-rw-r--r--lib/ansible/modules/network/cumulus/_cl_ports.py20
-rw-r--r--lib/ansible/modules/network/nxos/_nxos_ip_interface.py14
-rw-r--r--lib/ansible/modules/network/nxos/_nxos_mtu.py28
-rw-r--r--lib/ansible/modules/network/nxos/_nxos_portchannel.py14
-rw-r--r--lib/ansible/modules/network/nxos/_nxos_switchport.py14
-rw-r--r--lib/ansible/modules/network/panos/_panos_nat_policy.py17
-rw-r--r--lib/ansible/modules/network/panos/_panos_security_policy.py17
-rw-r--r--lib/ansible/modules/utilities/helper/_accelerate.py20
-rw-r--r--lib/ansible/modules/windows/_win_msi.py19
43 files changed, 12 insertions, 761 deletions
diff --git a/lib/ansible/module_utils/common/removed.py b/lib/ansible/module_utils/common/removed.py
index 5c92e89440..45725b0f83 100644
--- a/lib/ansible/module_utils/common/removed.py
+++ b/lib/ansible/module_utils/common/removed.py
@@ -14,6 +14,9 @@ from ansible.module_utils._text import to_native
def removed_module(removed_in, msg='This module has been removed. The module documentation for'
' Ansible-%(version)s may contain hints for porting'):
"""
+ This function is deprecated and should not be used. Instead the module should just be
+ actually removed. This function is scheduled for removal for the 2.12 release.
+
Returns module failure along with a message about the module being removed
:arg removed_in: The version that the module was removed in
@@ -27,7 +30,15 @@ def removed_module(removed_in, msg='This module has been removed. The module doc
if __name__ == '__main__':
removed_module("2.4")
"""
- results = {'failed': True}
+ results = {
+ 'failed': True,
+ 'deprecations': [
+ {
+ 'msg': 'The removed_module function is deprecated',
+ 'version': '2.12',
+ },
+ ]
+ }
# Convert numbers into strings
removed_in = to_native(removed_in)
diff --git a/lib/ansible/modules/cloud/amazon/_ec2_ami_find.py b/lib/ansible/modules/cloud/amazon/_ec2_ami_find.py
deleted file mode 100644
index 4b173b2d11..0000000000
--- a/lib/ansible/modules/cloud/amazon/_ec2_ami_find.py
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/usr/bin/python
-# Copyright: Ansible Project
-# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-from __future__ import absolute_import, division, print_function
-__metaclass__ = type
-
-
-ANSIBLE_METADATA = {'metadata_version': '1.1',
- 'status': ['removed'],
- 'supported_by': 'community'}
-
-
-from ansible.module_utils.common.removed import removed_module
-
-
-if __name__ == '__main__':
- removed_module(removed_in='2.9')
diff --git a/lib/ansible/modules/cloud/amazon/_ec2_ami_search.py b/lib/ansible/modules/cloud/amazon/_ec2_ami_search.py
deleted file mode 100644
index 5abf392e84..0000000000
--- a/lib/ansible/modules/cloud/amazon/_ec2_ami_search.py
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/usr/bin/python
-#
-# (c) 2013, Nimbis Services
-# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-from __future__ import absolute_import, division, print_function
-__metaclass__ = type
-
-
-ANSIBLE_METADATA = {'metadata_version': '1.1',
- 'status': ['removed'],
- 'supported_by': 'community'}
-
-
-from ansible.module_utils.common.removed import removed_module
-
-
-if __name__ == '__main__':
- removed_module(removed_in='2.2')
diff --git a/lib/ansible/modules/cloud/amazon/_ec2_facts.py b/lib/ansible/modules/cloud/amazon/_ec2_facts.py
deleted file mode 100644
index 0f7a8a3b01..0000000000
--- a/lib/ansible/modules/cloud/amazon/_ec2_facts.py
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/usr/bin/python
-# -*- coding: utf-8 -*-
-
-# Copyright: (c) 2018, Ansible Project
-# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-from __future__ import absolute_import, division, print_function
-__metaclass__ = type
-
-ANSIBLE_METADATA = {'metadata_version': '1.1',
- 'status': ['removed'],
- 'supported_by': 'community'}
-
-
-from ansible.module_utils.common.removed import removed_module
-
-
-if __name__ == '__main__':
- removed_module(removed_in='2.7')
diff --git a/lib/ansible/modules/cloud/amazon/_ec2_remote_facts.py b/lib/ansible/modules/cloud/amazon/_ec2_remote_facts.py
deleted file mode 100644
index 6530a2abc8..0000000000
--- a/lib/ansible/modules/cloud/amazon/_ec2_remote_facts.py
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/usr/bin/python
-# Copyright: Ansible Project
-# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-from __future__ import absolute_import, division, print_function
-__metaclass__ = type
-
-
-ANSIBLE_METADATA = {'metadata_version': '1.1',
- 'status': ['removed'],
- 'supported_by': 'community'}
-
-
-from ansible.module_utils.common.removed import removed_module
-
-
-if __name__ == '__main__':
- removed_module(removed_in='2.8')
diff --git a/lib/ansible/modules/cloud/amazon/_ec2_vpc.py b/lib/ansible/modules/cloud/amazon/_ec2_vpc.py
deleted file mode 100644
index 82b4e09f49..0000000000
--- a/lib/ansible/modules/cloud/amazon/_ec2_vpc.py
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/usr/bin/python
-# Copyright: Ansible Project
-# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-from __future__ import absolute_import, division, print_function
-__metaclass__ = type
-
-
-ANSIBLE_METADATA = {'metadata_version': '1.1',
- 'status': ['removed'],
- 'supported_by': 'community'}
-
-
-from ansible.module_utils.common.removed import removed_module
-
-
-if __name__ == '__main__':
- removed_module(removed_in="2.5")
diff --git a/lib/ansible/modules/cloud/amazon/_s3.py b/lib/ansible/modules/cloud/amazon/_s3.py
deleted file mode 100644
index 0f7a8a3b01..0000000000
--- a/lib/ansible/modules/cloud/amazon/_s3.py
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/usr/bin/python
-# -*- coding: utf-8 -*-
-
-# Copyright: (c) 2018, Ansible Project
-# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-from __future__ import absolute_import, division, print_function
-__metaclass__ = type
-
-ANSIBLE_METADATA = {'metadata_version': '1.1',
- 'status': ['removed'],
- 'supported_by': 'community'}
-
-
-from ansible.module_utils.common.removed import removed_module
-
-
-if __name__ == '__main__':
- removed_module(removed_in='2.7')
diff --git a/lib/ansible/modules/cloud/azure/_azure.py b/lib/ansible/modules/cloud/azure/_azure.py
deleted file mode 100644
index afefd8eb97..0000000000
--- a/lib/ansible/modules/cloud/azure/_azure.py
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/usr/bin/python
-#
-# Copyright (c) Ansible Project
-# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-from __future__ import absolute_import, division, print_function
-__metaclass__ = type
-
-
-ANSIBLE_METADATA = {'metadata_version': '1.1',
- 'status': ['removed'],
- 'supported_by': 'community'}
-
-
-from ansible.module_utils.common.removed import removed_module
-
-
-if __name__ == '__main__':
- removed_module(removed_in='2.8')
diff --git a/lib/ansible/modules/cloud/cloudstack/_cs_nic.py b/lib/ansible/modules/cloud/cloudstack/_cs_nic.py
deleted file mode 100644
index b446c3618d..0000000000
--- a/lib/ansible/modules/cloud/cloudstack/_cs_nic.py
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/usr/bin/python
-# -*- coding: utf-8 -*-
-
-# Copyright: (c) 2016, René Moser <mail@renemoser.net>
-# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-from __future__ import absolute_import, division, print_function
-__metaclass__ = type
-
-ANSIBLE_METADATA = {'metadata_version': '1.1',
- 'status': ['removed'],
- 'supported_by': 'community'}
-
-
-from ansible.module_utils.common.removed import removed_module
-
-
-if __name__ == '__main__':
- removed_module(removed_in='2.8')
diff --git a/lib/ansible/modules/cloud/docker/_docker.py b/lib/ansible/modules/cloud/docker/_docker.py
deleted file mode 100644
index ad8ede8c0b..0000000000
--- a/lib/ansible/modules/cloud/docker/_docker.py
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/usr/bin/python
-# -*- coding: utf-8 -*-
-
-# Copyright: (c) 2013, Cove Schneider
-# Copyright: (c) 2014, Joshua Conner <joshua.conner@gmail.com>
-# Copyright: (c) 2014, Pavel Antonov <antonov@adwz.ru>
-# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-from __future__ import absolute_import, division, print_function
-__metaclass__ = type
-
-ANSIBLE_METADATA = {'metadata_version': '1.1',
- 'status': ['removed'],
- 'supported_by': 'community'}
-
-
-from ansible.module_utils.common.removed import removed_module
-
-
-if __name__ == '__main__':
- removed_module(removed_in='2.4')
diff --git a/lib/ansible/modules/cloud/openstack/_os_server_actions.py b/lib/ansible/modules/cloud/openstack/_os_server_actions.py
deleted file mode 100644
index 3668554e9c..0000000000
--- a/lib/ansible/modules/cloud/openstack/_os_server_actions.py
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/usr/bin/python
-# -*- coding: utf-8 -*-
-
-# Copyright: (c) 2018, Ansible Project
-# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-from __future__ import absolute_import, division, print_function
-__metaclass__ = type
-
-ANSIBLE_METADATA = {'metadata_version': '1.1',
- 'status': ['removed'],
- 'supported_by': 'community'}
-
-
-from ansible.module_utils.common.removed import removed_module
-
-
-if __name__ == '__main__':
- removed_module(removed_in='2.8')
diff --git a/lib/ansible/modules/cloud/vmware/_vsphere_guest.py b/lib/ansible/modules/cloud/vmware/_vsphere_guest.py
deleted file mode 100644
index 8784570a66..0000000000
--- a/lib/ansible/modules/cloud/vmware/_vsphere_guest.py
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/usr/bin/python
-# -*- coding: utf-8 -*-
-
-# Copyright: (c) 2013, Ansible Project
-# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-from __future__ import absolute_import, division, print_function
-__metaclass__ = type
-
-ANSIBLE_METADATA = {'metadata_version': '1.1',
- 'status': ['removed'],
- 'supported_by': 'community'}
-
-
-from ansible.module_utils.common.removed import removed_module
-
-
-if __name__ == '__main__':
- removed_module(removed_in='2.9')
diff --git a/lib/ansible/modules/clustering/k8s/_kubernetes.py b/lib/ansible/modules/clustering/k8s/_kubernetes.py
deleted file mode 100644
index f039d827b7..0000000000
--- a/lib/ansible/modules/clustering/k8s/_kubernetes.py
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/usr/bin/python
-
-# Copyright: (c) 2015, Google Inc. All Rights Reserved.
-# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-from __future__ import absolute_import, division, print_function
-__metaclass__ = type
-
-ANSIBLE_METADATA = {'metadata_version': '1.1',
- 'status': ['removed'],
- 'supported_by': 'community'}
-
-
-from ansible.module_utils.common.removed import removed_module
-
-
-if __name__ == '__main__':
- removed_module(removed_in='2.9')
diff --git a/lib/ansible/modules/clustering/openshift/_oc.py b/lib/ansible/modules/clustering/openshift/_oc.py
deleted file mode 100644
index 5fdcf542a8..0000000000
--- a/lib/ansible/modules/clustering/openshift/_oc.py
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/usr/bin/python
-# -*- coding: utf-8 -*-
-# (c) 2017, Kenneth D. Evensen <kevensen@redhat.com>
-
-# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-from __future__ import (absolute_import, division, print_function)
-__metaclass__ = type
-
-ANSIBLE_METADATA = {
- 'metadata_version': '1.1',
- 'status': ['removed'],
- 'supported_by': 'community'
-}
-
-
-from ansible.module_utils.common.removed import removed_module
-
-
-if __name__ == '__main__':
- removed_module(removed_in='2.9')
diff --git a/lib/ansible/modules/crypto/acme/_letsencrypt.py b/lib/ansible/modules/crypto/acme/_letsencrypt.py
deleted file mode 100644
index b1fa1f81f4..0000000000
--- a/lib/ansible/modules/crypto/acme/_letsencrypt.py
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/usr/bin/python
-#
-# This file is part of Ansible
-#
-# Ansible is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# Ansible is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
-#
-
-from __future__ import absolute_import, division, print_function
-__metaclass__ = type
-
-ANSIBLE_METADATA = {'metadata_version': '1.1',
- 'status': ['removed'],
- 'supported_by': 'community'}
-
-
-from ansible.module_utils.common.removed import removed_module
-
-
-if __name__ == '__main__':
- removed_module(removed_in="2.10")
diff --git a/lib/ansible/modules/network/aos/_aos_asn_pool.py b/lib/ansible/modules/network/aos/_aos_asn_pool.py
deleted file mode 100644
index 9b960f6012..0000000000
--- a/lib/ansible/modules/network/aos/_aos_asn_pool.py
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/usr/bin/python
-#
-# (c) 2017 Apstra Inc, <community@apstra.com>
-# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-ANSIBLE_METADATA = {'metadata_version': '1.1',
- 'status': ['removed'],
- 'supported_by': 'community'}
-
-
-from ansible.module_utils.common.removed import removed_module
-
-
-if __name__ == '__main__':
- removed_module(removed_in='2.9')
diff --git a/lib/ansible/modules/network/aos/_aos_blueprint.py b/lib/ansible/modules/network/aos/_aos_blueprint.py
deleted file mode 100644
index 9b960f6012..0000000000
--- a/lib/ansible/modules/network/aos/_aos_blueprint.py
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/usr/bin/python
-#
-# (c) 2017 Apstra Inc, <community@apstra.com>
-# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-ANSIBLE_METADATA = {'metadata_version': '1.1',
- 'status': ['removed'],
- 'supported_by': 'community'}
-
-
-from ansible.module_utils.common.removed import removed_module
-
-
-if __name__ == '__main__':
- removed_module(removed_in='2.9')
diff --git a/lib/ansible/modules/network/aos/_aos_blueprint_param.py b/lib/ansible/modules/network/aos/_aos_blueprint_param.py
deleted file mode 100644
index 9b960f6012..0000000000
--- a/lib/ansible/modules/network/aos/_aos_blueprint_param.py
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/usr/bin/python
-#
-# (c) 2017 Apstra Inc, <community@apstra.com>
-# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-ANSIBLE_METADATA = {'metadata_version': '1.1',
- 'status': ['removed'],
- 'supported_by': 'community'}
-
-
-from ansible.module_utils.common.removed import removed_module
-
-
-if __name__ == '__main__':
- removed_module(removed_in='2.9')
diff --git a/lib/ansible/modules/network/aos/_aos_blueprint_virtnet.py b/lib/ansible/modules/network/aos/_aos_blueprint_virtnet.py
deleted file mode 100644
index 9b960f6012..0000000000
--- a/lib/ansible/modules/network/aos/_aos_blueprint_virtnet.py
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/usr/bin/python
-#
-# (c) 2017 Apstra Inc, <community@apstra.com>
-# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-ANSIBLE_METADATA = {'metadata_version': '1.1',
- 'status': ['removed'],
- 'supported_by': 'community'}
-
-
-from ansible.module_utils.common.removed import removed_module
-
-
-if __name__ == '__main__':
- removed_module(removed_in='2.9')
diff --git a/lib/ansible/modules/network/aos/_aos_device.py b/lib/ansible/modules/network/aos/_aos_device.py
deleted file mode 100644
index 9b960f6012..0000000000
--- a/lib/ansible/modules/network/aos/_aos_device.py
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/usr/bin/python
-#
-# (c) 2017 Apstra Inc, <community@apstra.com>
-# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-ANSIBLE_METADATA = {'metadata_version': '1.1',
- 'status': ['removed'],
- 'supported_by': 'community'}
-
-
-from ansible.module_utils.common.removed import removed_module
-
-
-if __name__ == '__main__':
- removed_module(removed_in='2.9')
diff --git a/lib/ansible/modules/network/aos/_aos_external_router.py b/lib/ansible/modules/network/aos/_aos_external_router.py
deleted file mode 100644
index 9b960f6012..0000000000
--- a/lib/ansible/modules/network/aos/_aos_external_router.py
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/usr/bin/python
-#
-# (c) 2017 Apstra Inc, <community@apstra.com>
-# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-ANSIBLE_METADATA = {'metadata_version': '1.1',
- 'status': ['removed'],
- 'supported_by': 'community'}
-
-
-from ansible.module_utils.common.removed import removed_module
-
-
-if __name__ == '__main__':
- removed_module(removed_in='2.9')
diff --git a/lib/ansible/modules/network/aos/_aos_ip_pool.py b/lib/ansible/modules/network/aos/_aos_ip_pool.py
deleted file mode 100644
index 9b960f6012..0000000000
--- a/lib/ansible/modules/network/aos/_aos_ip_pool.py
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/usr/bin/python
-#
-# (c) 2017 Apstra Inc, <community@apstra.com>
-# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-ANSIBLE_METADATA = {'metadata_version': '1.1',
- 'status': ['removed'],
- 'supported_by': 'community'}
-
-
-from ansible.module_utils.common.removed import removed_module
-
-
-if __name__ == '__main__':
- removed_module(removed_in='2.9')
diff --git a/lib/ansible/modules/network/aos/_aos_logical_device.py b/lib/ansible/modules/network/aos/_aos_logical_device.py
deleted file mode 100644
index 9b960f6012..0000000000
--- a/lib/ansible/modules/network/aos/_aos_logical_device.py
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/usr/bin/python
-#
-# (c) 2017 Apstra Inc, <community@apstra.com>
-# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-ANSIBLE_METADATA = {'metadata_version': '1.1',
- 'status': ['removed'],
- 'supported_by': 'community'}
-
-
-from ansible.module_utils.common.removed import removed_module
-
-
-if __name__ == '__main__':
- removed_module(removed_in='2.9')
diff --git a/lib/ansible/modules/network/aos/_aos_logical_device_map.py b/lib/ansible/modules/network/aos/_aos_logical_device_map.py
deleted file mode 100644
index 9b960f6012..0000000000
--- a/lib/ansible/modules/network/aos/_aos_logical_device_map.py
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/usr/bin/python
-#
-# (c) 2017 Apstra Inc, <community@apstra.com>
-# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-ANSIBLE_METADATA = {'metadata_version': '1.1',
- 'status': ['removed'],
- 'supported_by': 'community'}
-
-
-from ansible.module_utils.common.removed import removed_module
-
-
-if __name__ == '__main__':
- removed_module(removed_in='2.9')
diff --git a/lib/ansible/modules/network/aos/_aos_login.py b/lib/ansible/modules/network/aos/_aos_login.py
deleted file mode 100644
index 9b960f6012..0000000000
--- a/lib/ansible/modules/network/aos/_aos_login.py
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/usr/bin/python
-#
-# (c) 2017 Apstra Inc, <community@apstra.com>
-# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-ANSIBLE_METADATA = {'metadata_version': '1.1',
- 'status': ['removed'],
- 'supported_by': 'community'}
-
-
-from ansible.module_utils.common.removed import removed_module
-
-
-if __name__ == '__main__':
- removed_module(removed_in='2.9')
diff --git a/lib/ansible/modules/network/aos/_aos_rack_type.py b/lib/ansible/modules/network/aos/_aos_rack_type.py
deleted file mode 100644
index 9b960f6012..0000000000
--- a/lib/ansible/modules/network/aos/_aos_rack_type.py
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/usr/bin/python
-#
-# (c) 2017 Apstra Inc, <community@apstra.com>
-# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-ANSIBLE_METADATA = {'metadata_version': '1.1',
- 'status': ['removed'],
- 'supported_by': 'community'}
-
-
-from ansible.module_utils.common.removed import removed_module
-
-
-if __name__ == '__main__':
- removed_module(removed_in='2.9')
diff --git a/lib/ansible/modules/network/aos/_aos_template.py b/lib/ansible/modules/network/aos/_aos_template.py
deleted file mode 100644
index 9b960f6012..0000000000
--- a/lib/ansible/modules/network/aos/_aos_template.py
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/usr/bin/python
-#
-# (c) 2017 Apstra Inc, <community@apstra.com>
-# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-ANSIBLE_METADATA = {'metadata_version': '1.1',
- 'status': ['removed'],
- 'supported_by': 'community'}
-
-
-from ansible.module_utils.common.removed import removed_module
-
-
-if __name__ == '__main__':
- removed_module(removed_in='2.9')
diff --git a/lib/ansible/modules/network/citrix/_netscaler.py b/lib/ansible/modules/network/citrix/_netscaler.py
deleted file mode 100644
index d884d3c3ec..0000000000
--- a/lib/ansible/modules/network/citrix/_netscaler.py
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/usr/bin/python
-# -*- coding: utf-8 -*-
-
-# Copyright: (c) 2013, Nandor Sivok <nandor@gawker.com>
-# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-from __future__ import absolute_import, division, print_function
-__metaclass__ = type
-
-ANSIBLE_METADATA = {'metadata_version': '1.1',
- 'status': ['removed'],
- 'supported_by': 'community'}
-
-
-from ansible.module_utils.common.removed import removed_module
-
-
-if __name__ == '__main__':
- removed_module(removed_in='2.8')
diff --git a/lib/ansible/modules/network/cumulus/_cl_bond.py b/lib/ansible/modules/network/cumulus/_cl_bond.py
deleted file mode 100644
index 97edff7659..0000000000
--- a/lib/ansible/modules/network/cumulus/_cl_bond.py
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/usr/bin/python
-# -*- coding: utf-8 -*-
-
-# (c) 2016, Cumulus Networks <ce-ceng@cumulusnetworks.com>
-# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-from __future__ import absolute_import, division, print_function
-__metaclass__ = type
-
-
-ANSIBLE_METADATA = {'metadata_version': '1.1',
- 'status': ['removed'],
- 'supported_by': 'community'}
-
-
-from ansible.module_utils.common.removed import removed_module
-
-
-if __name__ == '__main__':
- removed_module(removed_in="2.5")
diff --git a/lib/ansible/modules/network/cumulus/_cl_bridge.py b/lib/ansible/modules/network/cumulus/_cl_bridge.py
deleted file mode 100644
index 97edff7659..0000000000
--- a/lib/ansible/modules/network/cumulus/_cl_bridge.py
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/usr/bin/python
-# -*- coding: utf-8 -*-
-
-# (c) 2016, Cumulus Networks <ce-ceng@cumulusnetworks.com>
-# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-from __future__ import absolute_import, division, print_function
-__metaclass__ = type
-
-
-ANSIBLE_METADATA = {'metadata_version': '1.1',
- 'status': ['removed'],
- 'supported_by': 'community'}
-
-
-from ansible.module_utils.common.removed import removed_module
-
-
-if __name__ == '__main__':
- removed_module(removed_in="2.5")
diff --git a/lib/ansible/modules/network/cumulus/_cl_img_install.py b/lib/ansible/modules/network/cumulus/_cl_img_install.py
deleted file mode 100644
index 97edff7659..0000000000
--- a/lib/ansible/modules/network/cumulus/_cl_img_install.py
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/usr/bin/python
-# -*- coding: utf-8 -*-
-
-# (c) 2016, Cumulus Networks <ce-ceng@cumulusnetworks.com>
-# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-from __future__ import absolute_import, division, print_function
-__metaclass__ = type
-
-
-ANSIBLE_METADATA = {'metadata_version': '1.1',
- 'status': ['removed'],
- 'supported_by': 'community'}
-
-
-from ansible.module_utils.common.removed import removed_module
-
-
-if __name__ == '__main__':
- removed_module(removed_in="2.5")
diff --git a/lib/ansible/modules/network/cumulus/_cl_interface.py b/lib/ansible/modules/network/cumulus/_cl_interface.py
deleted file mode 100644
index 97edff7659..0000000000
--- a/lib/ansible/modules/network/cumulus/_cl_interface.py
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/usr/bin/python
-# -*- coding: utf-8 -*-
-
-# (c) 2016, Cumulus Networks <ce-ceng@cumulusnetworks.com>
-# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-from __future__ import absolute_import, division, print_function
-__metaclass__ = type
-
-
-ANSIBLE_METADATA = {'metadata_version': '1.1',
- 'status': ['removed'],
- 'supported_by': 'community'}
-
-
-from ansible.module_utils.common.removed import removed_module
-
-
-if __name__ == '__main__':
- removed_module(removed_in="2.5")
diff --git a/lib/ansible/modules/network/cumulus/_cl_interface_policy.py b/lib/ansible/modules/network/cumulus/_cl_interface_policy.py
deleted file mode 100644
index 97edff7659..0000000000
--- a/lib/ansible/modules/network/cumulus/_cl_interface_policy.py
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/usr/bin/python
-# -*- coding: utf-8 -*-
-
-# (c) 2016, Cumulus Networks <ce-ceng@cumulusnetworks.com>
-# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-from __future__ import absolute_import, division, print_function
-__metaclass__ = type
-
-
-ANSIBLE_METADATA = {'metadata_version': '1.1',
- 'status': ['removed'],
- 'supported_by': 'community'}
-
-
-from ansible.module_utils.common.removed import removed_module
-
-
-if __name__ == '__main__':
- removed_module(removed_in="2.5")
diff --git a/lib/ansible/modules/network/cumulus/_cl_license.py b/lib/ansible/modules/network/cumulus/_cl_license.py
deleted file mode 100644
index 97edff7659..0000000000
--- a/lib/ansible/modules/network/cumulus/_cl_license.py
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/usr/bin/python
-# -*- coding: utf-8 -*-
-
-# (c) 2016, Cumulus Networks <ce-ceng@cumulusnetworks.com>
-# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-from __future__ import absolute_import, division, print_function
-__metaclass__ = type
-
-
-ANSIBLE_METADATA = {'metadata_version': '1.1',
- 'status': ['removed'],
- 'supported_by': 'community'}
-
-
-from ansible.module_utils.common.removed import removed_module
-
-
-if __name__ == '__main__':
- removed_module(removed_in="2.5")
diff --git a/lib/ansible/modules/network/cumulus/_cl_ports.py b/lib/ansible/modules/network/cumulus/_cl_ports.py
deleted file mode 100644
index 97edff7659..0000000000
--- a/lib/ansible/modules/network/cumulus/_cl_ports.py
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/usr/bin/python
-# -*- coding: utf-8 -*-
-
-# (c) 2016, Cumulus Networks <ce-ceng@cumulusnetworks.com>
-# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-from __future__ import absolute_import, division, print_function
-__metaclass__ = type
-
-
-ANSIBLE_METADATA = {'metadata_version': '1.1',
- 'status': ['removed'],
- 'supported_by': 'community'}
-
-
-from ansible.module_utils.common.removed import removed_module
-
-
-if __name__ == '__main__':
- removed_module(removed_in="2.5")
diff --git a/lib/ansible/modules/network/nxos/_nxos_ip_interface.py b/lib/ansible/modules/network/nxos/_nxos_ip_interface.py
deleted file mode 100644
index 636c9ad98a..0000000000
--- a/lib/ansible/modules/network/nxos/_nxos_ip_interface.py
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/usr/bin/python
-# Copyright: Ansible Project
-# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-ANSIBLE_METADATA = {'metadata_version': '1.1',
- 'status': ['removed'],
- 'supported_by': 'network'}
-
-
-from ansible.module_utils.common.removed import removed_module
-
-
-if __name__ == '__main__':
- removed_module(removed_in='2.9')
diff --git a/lib/ansible/modules/network/nxos/_nxos_mtu.py b/lib/ansible/modules/network/nxos/_nxos_mtu.py
deleted file mode 100644
index 8542647f20..0000000000
--- a/lib/ansible/modules/network/nxos/_nxos_mtu.py
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/python
-#
-# This file is part of Ansible
-#
-# Ansible is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# Ansible is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
-#
-
-ANSIBLE_METADATA = {'metadata_version': '1.1',
- 'status': ['removed'],
- 'supported_by': 'network'}
-
-
-from ansible.module_utils.common.removed import removed_module
-
-
-if __name__ == '__main__':
- removed_module(removed_in="2.5")
diff --git a/lib/ansible/modules/network/nxos/_nxos_portchannel.py b/lib/ansible/modules/network/nxos/_nxos_portchannel.py
deleted file mode 100644
index 636c9ad98a..0000000000
--- a/lib/ansible/modules/network/nxos/_nxos_portchannel.py
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/usr/bin/python
-# Copyright: Ansible Project
-# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-ANSIBLE_METADATA = {'metadata_version': '1.1',
- 'status': ['removed'],
- 'supported_by': 'network'}
-
-
-from ansible.module_utils.common.removed import removed_module
-
-
-if __name__ == '__main__':
- removed_module(removed_in='2.9')
diff --git a/lib/ansible/modules/network/nxos/_nxos_switchport.py b/lib/ansible/modules/network/nxos/_nxos_switchport.py
deleted file mode 100644
index 636c9ad98a..0000000000
--- a/lib/ansible/modules/network/nxos/_nxos_switchport.py
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/usr/bin/python
-# Copyright: Ansible Project
-# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-ANSIBLE_METADATA = {'metadata_version': '1.1',
- 'status': ['removed'],
- 'supported_by': 'network'}
-
-
-from ansible.module_utils.common.removed import removed_module
-
-
-if __name__ == '__main__':
- removed_module(removed_in='2.9')
diff --git a/lib/ansible/modules/network/panos/_panos_nat_policy.py b/lib/ansible/modules/network/panos/_panos_nat_policy.py
deleted file mode 100644
index 45c6615b96..0000000000
--- a/lib/ansible/modules/network/panos/_panos_nat_policy.py
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/python
-# -*- coding: utf-8 -*-
-#
-# Ansible module to manage PaloAltoNetworks Firewall
-# (c) 2016, techbizdev <techbizdev@paloaltonetworks.com>
-# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-ANSIBLE_METADATA = {'metadata_version': '1.1',
- 'status': ['removed'],
- 'supported_by': 'community'}
-
-
-from ansible.module_utils.common.removed import removed_module
-
-
-if __name__ == '__main__':
- removed_module(removed_in='2.9')
diff --git a/lib/ansible/modules/network/panos/_panos_security_policy.py b/lib/ansible/modules/network/panos/_panos_security_policy.py
deleted file mode 100644
index 45c6615b96..0000000000
--- a/lib/ansible/modules/network/panos/_panos_security_policy.py
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/python
-# -*- coding: utf-8 -*-
-#
-# Ansible module to manage PaloAltoNetworks Firewall
-# (c) 2016, techbizdev <techbizdev@paloaltonetworks.com>
-# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-ANSIBLE_METADATA = {'metadata_version': '1.1',
- 'status': ['removed'],
- 'supported_by': 'community'}
-
-
-from ansible.module_utils.common.removed import removed_module
-
-
-if __name__ == '__main__':
- removed_module(removed_in='2.9')
diff --git a/lib/ansible/modules/utilities/helper/_accelerate.py b/lib/ansible/modules/utilities/helper/_accelerate.py
deleted file mode 100644
index be0b047ba6..0000000000
--- a/lib/ansible/modules/utilities/helper/_accelerate.py
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/usr/bin/python
-# -*- coding: utf-8 -*-
-
-# Copyright: (c) 2013, James Cammarata <jcammarata@ansible.com>
-# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-from __future__ import absolute_import, division, print_function
-__metaclass__ = type
-
-
-ANSIBLE_METADATA = {'metadata_version': '1.1',
- 'status': ['removed'],
- 'supported_by': 'community'}
-
-
-from ansible.module_utils.common.removed import removed_module
-
-
-if __name__ == '__main__':
- removed_module(removed_in="2.4")
diff --git a/lib/ansible/modules/windows/_win_msi.py b/lib/ansible/modules/windows/_win_msi.py
deleted file mode 100644
index bbf1fb53a7..0000000000
--- a/lib/ansible/modules/windows/_win_msi.py
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/usr/bin/python
-# -*- coding: utf-8 -*-
-
-# Copyright: (c) 2014, Matt Martz <matt@sivel.net>, and others
-# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-# this is a windows documentation stub. actual code lives in the .ps1
-# file of the same name
-
-ANSIBLE_METADATA = {'metadata_version': '1.1',
- 'status': ['removed'],
- 'supported_by': 'community'}
-
-
-from ansible.module_utils.common.removed import removed_module
-
-
-if __name__ == '__main__':
- removed_module(removed_in='2.8')