diff --git a/changelogs/fragments/nios-deprecation.yml b/changelogs/fragments/nios-deprecation.yml new file mode 100644 index 0000000000..bcfc2b4128 --- /dev/null +++ b/changelogs/fragments/nios-deprecation.yml @@ -0,0 +1,2 @@ +deprecated_features: +- "The nios, nios_next_ip, nios_next_network lookup plugins, the nios documentation fragment, and the nios_host_record, nios_ptr_record, nios_mx_record, nios_fixed_address, nios_zone, nios_member, nios_a_record, nios_aaaa_record, nios_network, nios_dns_view, nios_txt_record, nios_naptr_record, nios_srv_record, nios_cname_record, nios_nsgroup, and nios_network_view module have been deprecated and will be removed from community.general 5.0.0. Please install the `infoblox.nios_modules `_ collection instead and use its plugins and modules (https://github.com/ansible-collections/community.general/pull/2458)." diff --git a/meta/runtime.yml b/meta/runtime.yml index c116029974..e5b59bc046 100644 --- a/meta/runtime.yml +++ b/meta/runtime.yml @@ -37,6 +37,18 @@ plugin_routing: redirect: community.google.gcp_storage_file hashi_vault: redirect: community.hashi_vault.hashi_vault + nios: + deprecation: + removal_version: 5.0.0 + warning_text: The community.general.nios lookup plugin has been deprecated. Please use infoblox.nios_modules.nios_lookup instead. + nios_next_ip: + deprecation: + removal_version: 5.0.0 + warning_text: The community.general.nios_next_ip lookup plugin has been deprecated. Please use infoblox.nios_modules.nios_next_ip instead. + nios_next_network: + deprecation: + removal_version: 5.0.0 + warning_text: The community.general.nios_next_network lookup plugin has been deprecated. Please use infoblox.nios_modules.nios_next_network instead. modules: ali_instance_facts: tombstone: @@ -283,6 +295,70 @@ plugin_routing: tombstone: removal_version: 3.0.0 warning_text: Use netapp.ontap.na_ontap_info instead. + nios_a_record: + deprecation: + removal_version: 5.0.0 + warning_text: The community.general.nios_a_record module has been deprecated. Please use infoblox.nios_modules.nios_a_record instead. + nios_aaaa_record: + deprecation: + removal_version: 5.0.0 + warning_text: The community.general.nios_aaaa_record module has been deprecated. Please use infoblox.nios_modules.nios_aaaa_record instead. + nios_cname_record: + deprecation: + removal_version: 5.0.0 + warning_text: The community.general.nios_cname_record module has been deprecated. Please use infoblox.nios_modules.nios_cname_record instead. + nios_dns_view: + deprecation: + removal_version: 5.0.0 + warning_text: The community.general.nios_dns_view module has been deprecated. Please use infoblox.nios_modules.nios_dns_view instead. + nios_fixed_address: + deprecation: + removal_version: 5.0.0 + warning_text: The community.general.nios_fixed_address module has been deprecated. Please use infoblox.nios_modules.nios_fixed_address instead. + nios_host_record: + deprecation: + removal_version: 5.0.0 + warning_text: The community.general.nios_host_record module has been deprecated. Please use infoblox.nios_modules.nios_host_record instead. + nios_member: + deprecation: + removal_version: 5.0.0 + warning_text: The community.general.nios_member module has been deprecated. Please use infoblox.nios_modules.nios_member instead. + nios_mx_record: + deprecation: + removal_version: 5.0.0 + warning_text: The community.general.nios_mx_record module has been deprecated. Please use infoblox.nios_modules.nios_mx_record instead. + nios_naptr_record: + deprecation: + removal_version: 5.0.0 + warning_text: The community.general.nios_naptr_record module has been deprecated. Please use infoblox.nios_modules.nios_naptr_record instead. + nios_network: + deprecation: + removal_version: 5.0.0 + warning_text: The community.general.nios_network module has been deprecated. Please use infoblox.nios_modules.nios_network instead. + nios_network_view: + deprecation: + removal_version: 5.0.0 + warning_text: The community.general.nios_network_view module has been deprecated. Please use infoblox.nios_modules.nios_network_view instead. + nios_nsgroup: + deprecation: + removal_version: 5.0.0 + warning_text: The community.general.nios_nsgroup module has been deprecated. Please use infoblox.nios_modules.nios_nsgroup instead. + nios_ptr_record: + deprecation: + removal_version: 5.0.0 + warning_text: The community.general.nios_ptr_record module has been deprecated. Please use infoblox.nios_modules.nios_ptr_record instead. + nios_srv_record: + deprecation: + removal_version: 5.0.0 + warning_text: The community.general.nios_srv_record module has been deprecated. Please use infoblox.nios_modules.nios_srv_record instead. + nios_txt_record: + deprecation: + removal_version: 5.0.0 + warning_text: The community.general.nios_txt_record module has been deprecated. Please use infoblox.nios_modules.nios_txt_record instead. + nios_zone: + deprecation: + removal_version: 5.0.0 + warning_text: The community.general.nios_zone module has been deprecated. Please use infoblox.nios_modules.nios_zone instead. nginx_status_facts: tombstone: removal_version: 3.0.0 @@ -568,11 +644,13 @@ plugin_routing: redirect: community.kubevirt.kubevirt_common_options kubevirt_vm_options: redirect: community.kubevirt.kubevirt_vm_options + nios: + deprecation: + removal_version: 5.0.0 + warning_text: The community.general.nios document fragment has been deprecated. Please use infoblox.nios_modules.nios instead. postgresql: redirect: community.postgresql.postgresql module_utils: - remote_management.dellemc.dellemc_idrac: - redirect: dellemc.openmanage.dellemc_idrac docker.common: redirect: community.docker.common docker.swarm: @@ -587,6 +665,12 @@ plugin_routing: redirect: community.hrobot.robot kubevirt: redirect: community.kubevirt.kubevirt + net_tools.nios.api: + deprecation: + removal_version: 5.0.0 + warning_text: The community.general.net_tools.nios.api module_utils has been deprecated. Please use infoblox.nios_modules.api instead. + remote_management.dellemc.dellemc_idrac: + redirect: dellemc.openmanage.dellemc_idrac remote_management.dellemc.ome: redirect: dellemc.openmanage.ome postgresql: diff --git a/plugins/lookup/nios.py b/plugins/lookup/nios.py index 4b606e78ba..819d8077e6 100644 --- a/plugins/lookup/nios.py +++ b/plugins/lookup/nios.py @@ -25,6 +25,10 @@ DOCUMENTATION = ''' author: Unknown (!UNKNOWN) name: nios short_description: Query Infoblox NIOS objects +deprecated: + why: Please install the infoblox.nios_modules collection and use the corresponding lookup from it. + alternative: infoblox.nios_modules.nios_lookup + removed_in: 5.0.0 description: - Uses the Infoblox WAPI API to fetch NIOS specified objects. This lookup supports adding additional keywords to filter the return data and specify diff --git a/plugins/lookup/nios_next_ip.py b/plugins/lookup/nios_next_ip.py index 5b979b8d07..21773cb53e 100644 --- a/plugins/lookup/nios_next_ip.py +++ b/plugins/lookup/nios_next_ip.py @@ -25,6 +25,10 @@ DOCUMENTATION = ''' author: Unknown (!UNKNOWN) name: nios_next_ip short_description: Return the next available IP address for a network +deprecated: + why: Please install the infoblox.nios_modules collection and use the corresponding lookup from it. + alternative: infoblox.nios_modules.nios_next_ip + removed_in: 5.0.0 description: - Uses the Infoblox WAPI API to return the next available IP addresses for a given network CIDR diff --git a/plugins/lookup/nios_next_network.py b/plugins/lookup/nios_next_network.py index 84b230d1fe..2aa22ab704 100644 --- a/plugins/lookup/nios_next_network.py +++ b/plugins/lookup/nios_next_network.py @@ -25,6 +25,10 @@ DOCUMENTATION = ''' author: Unknown (!UNKNOWN) name: nios_next_network short_description: Return the next available network range for a network-container +deprecated: + why: Please install the infoblox.nios_modules collection and use the corresponding lookup from it. + alternative: infoblox.nios_modules.nios_next_network + removed_in: 5.0.0 description: - Uses the Infoblox WAPI API to return the next available network addresses for a given network CIDR diff --git a/plugins/modules/net_tools/nios/nios_a_record.py b/plugins/modules/net_tools/nios/nios_a_record.py index 7e8b273024..b4adfe0103 100644 --- a/plugins/modules/net_tools/nios/nios_a_record.py +++ b/plugins/modules/net_tools/nios/nios_a_record.py @@ -10,6 +10,10 @@ DOCUMENTATION = ''' module: nios_a_record author: "Blair Rampling (@brampling)" short_description: Configure Infoblox NIOS A records +deprecated: + why: Please install the infoblox.nios_modules collection and use the corresponding module from it. + alternative: infoblox.nios_modules.nios_a_record + removed_in: 5.0.0 description: - Adds and/or removes instances of A record objects from Infoblox NIOS servers. This module manages NIOS C(record:a) objects diff --git a/plugins/modules/net_tools/nios/nios_aaaa_record.py b/plugins/modules/net_tools/nios/nios_aaaa_record.py index d35b779f10..9b22f86948 100644 --- a/plugins/modules/net_tools/nios/nios_aaaa_record.py +++ b/plugins/modules/net_tools/nios/nios_aaaa_record.py @@ -10,6 +10,10 @@ DOCUMENTATION = ''' module: nios_aaaa_record author: "Blair Rampling (@brampling)" short_description: Configure Infoblox NIOS AAAA records +deprecated: + why: Please install the infoblox.nios_modules collection and use the corresponding module from it. + alternative: infoblox.nios_modules.nios_aaaa_record + removed_in: 5.0.0 description: - Adds and/or removes instances of AAAA record objects from Infoblox NIOS servers. This module manages NIOS C(record:aaaa) objects diff --git a/plugins/modules/net_tools/nios/nios_cname_record.py b/plugins/modules/net_tools/nios/nios_cname_record.py index 2ab38473f3..099cb02572 100644 --- a/plugins/modules/net_tools/nios/nios_cname_record.py +++ b/plugins/modules/net_tools/nios/nios_cname_record.py @@ -10,6 +10,10 @@ DOCUMENTATION = ''' module: nios_cname_record author: "Blair Rampling (@brampling)" short_description: Configure Infoblox NIOS CNAME records +deprecated: + why: Please install the infoblox.nios_modules collection and use the corresponding module from it. + alternative: infoblox.nios_modules.nios_cname_record + removed_in: 5.0.0 description: - Adds and/or removes instances of CNAME record objects from Infoblox NIOS servers. This module manages NIOS C(record:cname) objects diff --git a/plugins/modules/net_tools/nios/nios_dns_view.py b/plugins/modules/net_tools/nios/nios_dns_view.py index af5d56d4ca..46c56fc7bb 100644 --- a/plugins/modules/net_tools/nios/nios_dns_view.py +++ b/plugins/modules/net_tools/nios/nios_dns_view.py @@ -10,6 +10,10 @@ DOCUMENTATION = ''' module: nios_dns_view author: "Peter Sprygada (@privateip)" short_description: Configure Infoblox NIOS DNS views +deprecated: + why: Please install the infoblox.nios_modules collection and use the corresponding module from it. + alternative: infoblox.nios_modules.nios_dns_view + removed_in: 5.0.0 description: - Adds and/or removes instances of DNS view objects from Infoblox NIOS servers. This module manages NIOS C(view) objects diff --git a/plugins/modules/net_tools/nios/nios_fixed_address.py b/plugins/modules/net_tools/nios/nios_fixed_address.py index cab3b5e1b5..bc2969bbe5 100644 --- a/plugins/modules/net_tools/nios/nios_fixed_address.py +++ b/plugins/modules/net_tools/nios/nios_fixed_address.py @@ -10,6 +10,10 @@ DOCUMENTATION = ''' module: nios_fixed_address author: "Sumit Jaiswal (@sjaiswal)" short_description: Configure Infoblox NIOS DHCP Fixed Address +deprecated: + why: Please install the infoblox.nios_modules collection and use the corresponding module from it. + alternative: infoblox.nios_modules.nios_fixed_address + removed_in: 5.0.0 description: - A fixed address is a specific IP address that a DHCP server always assigns when a lease request comes from a particular diff --git a/plugins/modules/net_tools/nios/nios_host_record.py b/plugins/modules/net_tools/nios/nios_host_record.py index d3e9d3de95..6fed663657 100644 --- a/plugins/modules/net_tools/nios/nios_host_record.py +++ b/plugins/modules/net_tools/nios/nios_host_record.py @@ -10,6 +10,10 @@ DOCUMENTATION = ''' module: nios_host_record author: "Peter Sprygada (@privateip)" short_description: Configure Infoblox NIOS host records +deprecated: + why: Please install the infoblox.nios_modules collection and use the corresponding module from it. + alternative: infoblox.nios_modules.nios_host_record + removed_in: 5.0.0 description: - Adds and/or removes instances of host record objects from Infoblox NIOS servers. This module manages NIOS C(record:host) objects diff --git a/plugins/modules/net_tools/nios/nios_member.py b/plugins/modules/net_tools/nios/nios_member.py index f8bf3e2595..186933864a 100644 --- a/plugins/modules/net_tools/nios/nios_member.py +++ b/plugins/modules/net_tools/nios/nios_member.py @@ -10,6 +10,10 @@ DOCUMENTATION = ''' module: nios_member author: "Krishna Vasudevan (@krisvasudevan)" short_description: Configure Infoblox NIOS members +deprecated: + why: Please install the infoblox.nios_modules collection and use the corresponding module from it. + alternative: infoblox.nios_modules.nios_member + removed_in: 5.0.0 description: - Adds and/or removes Infoblox NIOS servers. This module manages NIOS C(member) objects using the Infoblox WAPI interface over REST. requirements: diff --git a/plugins/modules/net_tools/nios/nios_mx_record.py b/plugins/modules/net_tools/nios/nios_mx_record.py index a5c93b92bf..6e54ff2bda 100644 --- a/plugins/modules/net_tools/nios/nios_mx_record.py +++ b/plugins/modules/net_tools/nios/nios_mx_record.py @@ -10,6 +10,10 @@ DOCUMENTATION = ''' module: nios_mx_record author: "Blair Rampling (@brampling)" short_description: Configure Infoblox NIOS MX records +deprecated: + why: Please install the infoblox.nios_modules collection and use the corresponding module from it. + alternative: infoblox.nios_modules.nios_mx_record + removed_in: 5.0.0 description: - Adds and/or removes instances of MX record objects from Infoblox NIOS servers. This module manages NIOS C(record:mx) objects diff --git a/plugins/modules/net_tools/nios/nios_naptr_record.py b/plugins/modules/net_tools/nios/nios_naptr_record.py index 387dd1dd98..f943d3d6d9 100644 --- a/plugins/modules/net_tools/nios/nios_naptr_record.py +++ b/plugins/modules/net_tools/nios/nios_naptr_record.py @@ -10,6 +10,10 @@ DOCUMENTATION = ''' module: nios_naptr_record author: "Blair Rampling (@brampling)" short_description: Configure Infoblox NIOS NAPTR records +deprecated: + why: Please install the infoblox.nios_modules collection and use the corresponding module from it. + alternative: infoblox.nios_modules.nios_naptr_record + removed_in: 5.0.0 description: - Adds and/or removes instances of NAPTR record objects from Infoblox NIOS servers. This module manages NIOS C(record:naptr) objects diff --git a/plugins/modules/net_tools/nios/nios_network.py b/plugins/modules/net_tools/nios/nios_network.py index 98d06a2ede..6a7decb894 100644 --- a/plugins/modules/net_tools/nios/nios_network.py +++ b/plugins/modules/net_tools/nios/nios_network.py @@ -10,6 +10,10 @@ DOCUMENTATION = ''' module: nios_network author: "Peter Sprygada (@privateip)" short_description: Configure Infoblox NIOS network object +deprecated: + why: Please install the infoblox.nios_modules collection and use the corresponding module from it. + alternative: infoblox.nios_modules.nios_network + removed_in: 5.0.0 description: - Adds and/or removes instances of network objects from Infoblox NIOS servers. This module manages NIOS C(network) objects diff --git a/plugins/modules/net_tools/nios/nios_network_view.py b/plugins/modules/net_tools/nios/nios_network_view.py index c8925adcfb..a27f8519a0 100644 --- a/plugins/modules/net_tools/nios/nios_network_view.py +++ b/plugins/modules/net_tools/nios/nios_network_view.py @@ -10,6 +10,10 @@ DOCUMENTATION = ''' module: nios_network_view author: "Peter Sprygada (@privateip)" short_description: Configure Infoblox NIOS network views +deprecated: + why: Please install the infoblox.nios_modules collection and use the corresponding module from it. + alternative: infoblox.nios_modules.nios_network_view + removed_in: 5.0.0 description: - Adds and/or removes instances of network view objects from Infoblox NIOS servers. This module manages NIOS C(networkview) objects diff --git a/plugins/modules/net_tools/nios/nios_nsgroup.py b/plugins/modules/net_tools/nios/nios_nsgroup.py index b56c3f0b8d..8e8cde399c 100644 --- a/plugins/modules/net_tools/nios/nios_nsgroup.py +++ b/plugins/modules/net_tools/nios/nios_nsgroup.py @@ -11,6 +11,10 @@ DOCUMENTATION = ''' --- module: nios_nsgroup short_description: Configure InfoBlox DNS Nameserver Groups +deprecated: + why: Please install the infoblox.nios_modules collection and use the corresponding module from it. + alternative: infoblox.nios_modules.nios_nsgroup + removed_in: 5.0.0 extends_documentation_fragment: - community.general.nios diff --git a/plugins/modules/net_tools/nios/nios_ptr_record.py b/plugins/modules/net_tools/nios/nios_ptr_record.py index 04c1370920..22550f129a 100644 --- a/plugins/modules/net_tools/nios/nios_ptr_record.py +++ b/plugins/modules/net_tools/nios/nios_ptr_record.py @@ -11,6 +11,10 @@ DOCUMENTATION = ''' module: nios_ptr_record author: "Trebuchet Clement (@clementtrebuchet)" short_description: Configure Infoblox NIOS PTR records +deprecated: + why: Please install the infoblox.nios_modules collection and use the corresponding module from it. + alternative: infoblox.nios_modules.nios_ptr_record + removed_in: 5.0.0 description: - Adds and/or removes instances of PTR record objects from Infoblox NIOS servers. This module manages NIOS C(record:ptr) objects diff --git a/plugins/modules/net_tools/nios/nios_srv_record.py b/plugins/modules/net_tools/nios/nios_srv_record.py index 8a12aa7fd3..574a5fcf8b 100644 --- a/plugins/modules/net_tools/nios/nios_srv_record.py +++ b/plugins/modules/net_tools/nios/nios_srv_record.py @@ -10,6 +10,10 @@ DOCUMENTATION = ''' module: nios_srv_record author: "Blair Rampling (@brampling)" short_description: Configure Infoblox NIOS SRV records +deprecated: + why: Please install the infoblox.nios_modules collection and use the corresponding module from it. + alternative: infoblox.nios_modules.nios_srv_record + removed_in: 5.0.0 description: - Adds and/or removes instances of SRV record objects from Infoblox NIOS servers. This module manages NIOS C(record:srv) objects diff --git a/plugins/modules/net_tools/nios/nios_txt_record.py b/plugins/modules/net_tools/nios/nios_txt_record.py index 761a895052..b3267af41f 100644 --- a/plugins/modules/net_tools/nios/nios_txt_record.py +++ b/plugins/modules/net_tools/nios/nios_txt_record.py @@ -10,6 +10,10 @@ DOCUMENTATION = ''' module: nios_txt_record author: "Corey Wanless (@coreywan)" short_description: Configure Infoblox NIOS txt records +deprecated: + why: Please install the infoblox.nios_modules collection and use the corresponding module from it. + alternative: infoblox.nios_modules.nios_txt_record + removed_in: 5.0.0 description: - Adds and/or removes instances of txt record objects from Infoblox NIOS servers. This module manages NIOS C(record:txt) objects diff --git a/plugins/modules/net_tools/nios/nios_zone.py b/plugins/modules/net_tools/nios/nios_zone.py index 3c59aab298..f97098351b 100644 --- a/plugins/modules/net_tools/nios/nios_zone.py +++ b/plugins/modules/net_tools/nios/nios_zone.py @@ -10,6 +10,10 @@ DOCUMENTATION = ''' module: nios_zone author: "Peter Sprygada (@privateip)" short_description: Configure Infoblox NIOS DNS zones +deprecated: + why: Please install the infoblox.nios_modules collection and use the corresponding module from it. + alternative: infoblox.nios_modules.nios_zone + removed_in: 5.0.0 description: - Adds and/or removes instances of DNS zone objects from Infoblox NIOS servers. This module manages NIOS C(zone_auth) objects diff --git a/tests/sanity/ignore-2.9.txt b/tests/sanity/ignore-2.9.txt index 5c759d2095..32e13b1a1e 100644 --- a/tests/sanity/ignore-2.9.txt +++ b/tests/sanity/ignore-2.9.txt @@ -41,6 +41,38 @@ plugins/modules/remote_management/manageiq/manageiq_provider.py validate-modules plugins/modules/remote_management/stacki/stacki_host.py validate-modules:doc-default-does-not-match-spec plugins/modules/remote_management/stacki/stacki_host.py validate-modules:parameter-type-not-in-doc plugins/modules/remote_management/stacki/stacki_host.py validate-modules:undocumented-parameter +plugins/modules/net_tools/nios/nios_a_record.py validate-modules:deprecation-mismatch +plugins/modules/net_tools/nios/nios_a_record.py validate-modules:invalid-documentation +plugins/modules/net_tools/nios/nios_aaaa_record.py validate-modules:deprecation-mismatch +plugins/modules/net_tools/nios/nios_aaaa_record.py validate-modules:invalid-documentation +plugins/modules/net_tools/nios/nios_cname_record.py validate-modules:deprecation-mismatch +plugins/modules/net_tools/nios/nios_cname_record.py validate-modules:invalid-documentation +plugins/modules/net_tools/nios/nios_dns_view.py validate-modules:deprecation-mismatch +plugins/modules/net_tools/nios/nios_dns_view.py validate-modules:invalid-documentation +plugins/modules/net_tools/nios/nios_fixed_address.py validate-modules:deprecation-mismatch +plugins/modules/net_tools/nios/nios_fixed_address.py validate-modules:invalid-documentation +plugins/modules/net_tools/nios/nios_host_record.py validate-modules:deprecation-mismatch +plugins/modules/net_tools/nios/nios_host_record.py validate-modules:invalid-documentation +plugins/modules/net_tools/nios/nios_member.py validate-modules:deprecation-mismatch +plugins/modules/net_tools/nios/nios_member.py validate-modules:invalid-documentation +plugins/modules/net_tools/nios/nios_mx_record.py validate-modules:deprecation-mismatch +plugins/modules/net_tools/nios/nios_mx_record.py validate-modules:invalid-documentation +plugins/modules/net_tools/nios/nios_naptr_record.py validate-modules:deprecation-mismatch +plugins/modules/net_tools/nios/nios_naptr_record.py validate-modules:invalid-documentation +plugins/modules/net_tools/nios/nios_network.py validate-modules:deprecation-mismatch +plugins/modules/net_tools/nios/nios_network.py validate-modules:invalid-documentation +plugins/modules/net_tools/nios/nios_network_view.py validate-modules:deprecation-mismatch +plugins/modules/net_tools/nios/nios_network_view.py validate-modules:invalid-documentation +plugins/modules/net_tools/nios/nios_nsgroup.py validate-modules:deprecation-mismatch +plugins/modules/net_tools/nios/nios_nsgroup.py validate-modules:invalid-documentation +plugins/modules/net_tools/nios/nios_ptr_record.py validate-modules:deprecation-mismatch +plugins/modules/net_tools/nios/nios_ptr_record.py validate-modules:invalid-documentation +plugins/modules/net_tools/nios/nios_srv_record.py validate-modules:deprecation-mismatch +plugins/modules/net_tools/nios/nios_srv_record.py validate-modules:invalid-documentation +plugins/modules/net_tools/nios/nios_txt_record.py validate-modules:deprecation-mismatch +plugins/modules/net_tools/nios/nios_txt_record.py validate-modules:invalid-documentation +plugins/modules/net_tools/nios/nios_zone.py validate-modules:deprecation-mismatch +plugins/modules/net_tools/nios/nios_zone.py validate-modules:invalid-documentation plugins/modules/source_control/github/github_deploy_key.py validate-modules:parameter-invalid plugins/modules/system/iptables_state.py validate-modules:undocumented-parameter plugins/modules/system/launchd.py use-argspec-type-path # False positive