diff --git a/changelogs/fragments/10994-oneandone-deprecation.yml b/changelogs/fragments/10994-oneandone-deprecation.yml new file mode 100644 index 0000000000..6c8082d119 --- /dev/null +++ b/changelogs/fragments/10994-oneandone-deprecation.yml @@ -0,0 +1,8 @@ +deprecated_features: + - oneandone module utils - DNS fails to resolve the API endpoint used by the module. The module is deprecated and will be removed in community.general 12.0.0 (https://github.com/ansible-collections/community.general/pull/10994). + - oneandone_firewall_policy - DNS fails to resolve the API endpoint used by the module. The module is deprecated and will be removed in community.general 12.0.0 (https://github.com/ansible-collections/community.general/pull/10994). + - oneandone_load_balancer - DNS fails to resolve the API endpoint used by the module. The module is deprecated and will be removed in community.general 12.0.0 (https://github.com/ansible-collections/community.general/pull/10994). + - oneandone_monitoring_policy - DNS fails to resolve the API endpoint used by the module. The module is deprecated and will be removed in community.general 12.0.0 (https://github.com/ansible-collections/community.general/pull/10994). + - oneandone_private_network - DNS fails to resolve the API endpoint used by the module. The module is deprecated and will be removed in community.general 12.0.0 (https://github.com/ansible-collections/community.general/pull/10994). + - oneandone_public_ip - DNS fails to resolve the API endpoint used by the module. The module is deprecated and will be removed in community.general 12.0.0 (https://github.com/ansible-collections/community.general/pull/10994). + - oneandone_server - DNS fails to resolve the API endpoint used by the module. The module is deprecated and will be removed in community.general 12.0.0 (https://github.com/ansible-collections/community.general/pull/10994). diff --git a/meta/runtime.yml b/meta/runtime.yml index ca0f4dbb79..3fa5e94953 100644 --- a/meta/runtime.yml +++ b/meta/runtime.yml @@ -501,6 +501,30 @@ plugin_routing: tombstone: removal_version: 3.0.0 warning_text: Use community.general.one_image_info instead. + oneandone_firewall_policy: + deprecation: + removal_version: 13.0.0 + warning_text: DNS fails to resolve the API endpoint used by the module. + oneandone_load_balancer: + deprecation: + removal_version: 13.0.0 + warning_text: DNS fails to resolve the API endpoint used by the module. + oneandone_monitoring_policy: + deprecation: + removal_version: 13.0.0 + warning_text: DNS fails to resolve the API endpoint used by the module. + oneandone_private_network: + deprecation: + removal_version: 13.0.0 + warning_text: DNS fails to resolve the API endpoint used by the module. + oneandone_public_ip: + deprecation: + removal_version: 13.0.0 + warning_text: DNS fails to resolve the API endpoint used by the module. + oneandone_server: + deprecation: + removal_version: 13.0.0 + warning_text: DNS fails to resolve the API endpoint used by the module. onepassword_facts: tombstone: removal_version: 3.0.0 @@ -1133,6 +1157,10 @@ plugin_routing: deprecation: removal_version: 13.0.0 warning_text: Code is unmaintained here and official Oracle collection is available for a number of years. + oneandone: + deprecation: + removal_version: 13.0.0 + warning_text: DNS fails to resolve the API endpoint used by the module. postgresql: redirect: community.postgresql.postgresql proxmox: diff --git a/plugins/module_utils/oneandone.py b/plugins/module_utils/oneandone.py index 1c9cb73d73..9a6a2488af 100644 --- a/plugins/module_utils/oneandone.py +++ b/plugins/module_utils/oneandone.py @@ -6,6 +6,12 @@ from __future__ import annotations import time +# +# DEPRECATED +# +# This module utils is deprecated and will be removed in community.general 13.0.0 +# + class OneAndOneResources: firewall_policy = 'firewall_policy' diff --git a/plugins/modules/oneandone_firewall_policy.py b/plugins/modules/oneandone_firewall_policy.py index 2e57ebd130..8eff568b7e 100644 --- a/plugins/modules/oneandone_firewall_policy.py +++ b/plugins/modules/oneandone_firewall_policy.py @@ -10,6 +10,10 @@ module: oneandone_firewall_policy short_description: Configure 1&1 firewall policy description: - Create, remove, reconfigure, update firewall policies. This module has a dependency on 1and1 >= 1.0. +deprecated: + removed_in: 13.0.0 + why: DNS fails to resolve the API endpoint used by the module. + alternative: There is none. extends_documentation_fragment: - community.general.attributes attributes: diff --git a/plugins/modules/oneandone_load_balancer.py b/plugins/modules/oneandone_load_balancer.py index 630dba4ec8..8bbe8646dd 100644 --- a/plugins/modules/oneandone_load_balancer.py +++ b/plugins/modules/oneandone_load_balancer.py @@ -10,6 +10,10 @@ module: oneandone_load_balancer short_description: Configure 1&1 load balancer description: - Create, remove, update load balancers. This module has a dependency on 1and1 >= 1.0. +deprecated: + removed_in: 13.0.0 + why: DNS fails to resolve the API endpoint used by the module. + alternative: There is none. extends_documentation_fragment: - community.general.attributes attributes: diff --git a/plugins/modules/oneandone_monitoring_policy.py b/plugins/modules/oneandone_monitoring_policy.py index 550f3a0762..fac044549b 100644 --- a/plugins/modules/oneandone_monitoring_policy.py +++ b/plugins/modules/oneandone_monitoring_policy.py @@ -11,6 +11,10 @@ short_description: Configure 1&1 monitoring policy description: - Create, remove, update monitoring policies (and add/remove ports, processes, and servers). This module has a dependency on 1and1 >= 1.0. +deprecated: + removed_in: 13.0.0 + why: DNS fails to resolve the API endpoint used by the module. + alternative: There is none. extends_documentation_fragment: - community.general.attributes attributes: diff --git a/plugins/modules/oneandone_private_network.py b/plugins/modules/oneandone_private_network.py index 2154ae98eb..1fafbde01d 100644 --- a/plugins/modules/oneandone_private_network.py +++ b/plugins/modules/oneandone_private_network.py @@ -10,6 +10,10 @@ module: oneandone_private_network short_description: Configure 1&1 private networking description: - Create, remove, reconfigure, update a private network. This module has a dependency on 1and1 >= 1.0. +deprecated: + removed_in: 13.0.0 + why: DNS fails to resolve the API endpoint used by the module. + alternative: There is none. extends_documentation_fragment: - community.general.attributes attributes: diff --git a/plugins/modules/oneandone_public_ip.py b/plugins/modules/oneandone_public_ip.py index f9f5ceee70..b59f54719c 100644 --- a/plugins/modules/oneandone_public_ip.py +++ b/plugins/modules/oneandone_public_ip.py @@ -10,6 +10,10 @@ module: oneandone_public_ip short_description: Configure 1&1 public IPs description: - Create, update, and remove public IPs. This module has a dependency on 1and1 >= 1.0. +deprecated: + removed_in: 13.0.0 + why: DNS fails to resolve the API endpoint used by the module. + alternative: There is none. extends_documentation_fragment: - community.general.attributes attributes: diff --git a/plugins/modules/oneandone_server.py b/plugins/modules/oneandone_server.py index 9976555492..b835f603c8 100644 --- a/plugins/modules/oneandone_server.py +++ b/plugins/modules/oneandone_server.py @@ -11,6 +11,10 @@ short_description: Create, destroy, start, stop, and reboot a 1&1 Host server description: - Create, destroy, update, start, stop, and reboot a 1&1 Host server. When the server is created it can optionally wait for it to be 'running' before returning. +deprecated: + removed_in: 13.0.0 + why: DNS fails to resolve the API endpoint used by the module. + alternative: There is none. extends_documentation_fragment: - community.general.attributes attributes: