From 085bcb22a2f08bed7f282cb32bd16b970424d2d7 Mon Sep 17 00:00:00 2001 From: Alexei Znamensky <103110+russoz@users.noreply.github.com> Date: Fri, 14 Feb 2025 08:17:25 +1300 Subject: [PATCH] profitbricks: deprecation (#9733) * profitbricks: deprecation * add changelog frag --- .../9733-profitbrick-deprecation.yml | 6 ++++ meta/runtime.yml | 28 ++++++++++++++++--- plugins/modules/profitbricks.py | 7 +++++ plugins/modules/profitbricks_datacenter.py | 8 ++++++ plugins/modules/profitbricks_nic.py | 7 +++++ plugins/modules/profitbricks_volume.py | 7 +++++ .../profitbricks_volume_attachments.py | 7 +++++ 7 files changed, 66 insertions(+), 4 deletions(-) create mode 100644 changelogs/fragments/9733-profitbrick-deprecation.yml diff --git a/changelogs/fragments/9733-profitbrick-deprecation.yml b/changelogs/fragments/9733-profitbrick-deprecation.yml new file mode 100644 index 0000000000..094f2672a4 --- /dev/null +++ b/changelogs/fragments/9733-profitbrick-deprecation.yml @@ -0,0 +1,6 @@ +deprecated_features: + - profitbricks - module is deprecated and will be removed in community.general 11.0.0 (https://github.com/ansible-collections/community.general/pull/9733). + - profitbricks_datacenter - module is deprecated and will be removed in community.general 11.0.0 (https://github.com/ansible-collections/community.general/pull/9733). + - profitbricks_nic - module is deprecated and will be removed in community.general 11.0.0 (https://github.com/ansible-collections/community.general/pull/9733). + - profitbricks_volume - module is deprecated and will be removed in community.general 11.0.0 (https://github.com/ansible-collections/community.general/pull/9733). + - profitbricks_volume_attachments - module is deprecated and will be removed in community.general 11.0.0 (https://github.com/ansible-collections/community.general/pull/9733). diff --git a/meta/runtime.yml b/meta/runtime.yml index d6ffdbec57..bf09a0e642 100644 --- a/meta/runtime.yml +++ b/meta/runtime.yml @@ -17,7 +17,7 @@ action_groups: proxmox: - proxmox - proxmox_backup - - proxmox_backup_info + - proxmox_backup_info - proxmox_disk - proxmox_domain_info - proxmox_group_info @@ -112,15 +112,15 @@ plugin_routing: atomic_container: deprecation: removal_version: 13.0.0 - warning_text: Poject Atomic was sunset by the end of 2019. + warning_text: Project Atomic was sunset by the end of 2019. atomic_host: deprecation: removal_version: 13.0.0 - warning_text: Poject Atomic was sunset by the end of 2019. + warning_text: Project Atomic was sunset by the end of 2019. atomic_image: deprecation: removal_version: 13.0.0 - warning_text: Poject Atomic was sunset by the end of 2019. + warning_text: Project Atomic was sunset by the end of 2019. cisco_spark: redirect: community.general.cisco_webex consul_acl: @@ -603,6 +603,26 @@ plugin_routing: redirect: community.postgresql.postgresql_user postgresql_user_obj_stat_info: redirect: community.postgresql.postgresql_user_obj_stat_info + profitbricks: + deprecation: + removal_version: 11.0.0 + warning_text: Supporting library is unsupported since 2021. + profitbricks_datacenter: + deprecation: + removal_version: 11.0.0 + warning_text: Supporting library is unsupported since 2021. + profitbricks_nic: + deprecation: + removal_version: 11.0.0 + warning_text: Supporting library is unsupported since 2021. + profitbricks_volume: + deprecation: + removal_version: 11.0.0 + warning_text: Supporting library is unsupported since 2021. + profitbricks_volume_attachments: + deprecation: + removal_version: 11.0.0 + warning_text: Supporting library is unsupported since 2021. purefa_facts: tombstone: removal_version: 3.0.0 diff --git a/plugins/modules/profitbricks.py b/plugins/modules/profitbricks.py index 070c7b9f67..403757fe7e 100644 --- a/plugins/modules/profitbricks.py +++ b/plugins/modules/profitbricks.py @@ -14,6 +14,13 @@ short_description: Create, destroy, start, stop, and reboot a ProfitBricks virtu description: - Create, destroy, update, start, stop, and reboot a ProfitBricks virtual machine. When the virtual machine is created it can optionally wait for it to be 'running' before returning. This module has a dependency on profitbricks >= 1.0.0. +deprecated: + removed_in: 11.0.0 + why: Module relies on library unsupported since 2021. + alternative: > + Profitbricks has rebranded as Ionos Cloud and they provide a collection named ionoscloudsdk.ionoscloud. + Whilst it is likely it will provide the features of this module, that has not been verified. + Please refer to that collectionś documentation for more details. extends_documentation_fragment: - community.general.attributes attributes: diff --git a/plugins/modules/profitbricks_datacenter.py b/plugins/modules/profitbricks_datacenter.py index 1bd97be547..32b2996a26 100644 --- a/plugins/modules/profitbricks_datacenter.py +++ b/plugins/modules/profitbricks_datacenter.py @@ -14,6 +14,14 @@ short_description: Create or destroy a ProfitBricks Virtual Datacenter description: - This is a simple module that supports creating or removing vDCs. A vDC is required before you can create servers. This module has a dependency on profitbricks >= 1.0.0. +deprecated: + removed_in: 11.0.0 + why: Module relies on library unsupported since 2021. + alternative: > + Profitbricks has rebranded as Ionos Cloud and they provide a collection named ionoscloudsdk.ionoscloud. + Whilst it is likely it will provide the features of this module, that has not been verified. + Please refer to that collectionś documentation for more details. + extends_documentation_fragment: - community.general.attributes attributes: diff --git a/plugins/modules/profitbricks_nic.py b/plugins/modules/profitbricks_nic.py index 0b559a6fed..690a03995d 100644 --- a/plugins/modules/profitbricks_nic.py +++ b/plugins/modules/profitbricks_nic.py @@ -13,6 +13,13 @@ module: profitbricks_nic short_description: Create or Remove a NIC description: - This module allows you to create or restore a volume snapshot. This module has a dependency on profitbricks >= 1.0.0. +deprecated: + removed_in: 11.0.0 + why: Module relies on library unsupported since 2021. + alternative: > + Profitbricks has rebranded as Ionos Cloud and they provide a collection named ionoscloudsdk.ionoscloud. + Whilst it is likely it will provide the features of this module, that has not been verified. + Please refer to that collectionś documentation for more details. extends_documentation_fragment: - community.general.attributes attributes: diff --git a/plugins/modules/profitbricks_volume.py b/plugins/modules/profitbricks_volume.py index f887fa086b..adcd5cdb06 100644 --- a/plugins/modules/profitbricks_volume.py +++ b/plugins/modules/profitbricks_volume.py @@ -14,6 +14,13 @@ short_description: Create or destroy a volume description: - Allows you to create or remove a volume from a ProfitBricks datacenter. This module has a dependency on profitbricks >= 1.0.0. +deprecated: + removed_in: 11.0.0 + why: Module relies on library unsupported since 2021. + alternative: > + Profitbricks has rebranded as Ionos Cloud and they provide a collection named ionoscloudsdk.ionoscloud. + Whilst it is likely it will provide the features of this module, that has not been verified. + Please refer to that collectionś documentation for more details. extends_documentation_fragment: - community.general.attributes attributes: diff --git a/plugins/modules/profitbricks_volume_attachments.py b/plugins/modules/profitbricks_volume_attachments.py index 63ca6775ab..896d7205d7 100644 --- a/plugins/modules/profitbricks_volume_attachments.py +++ b/plugins/modules/profitbricks_volume_attachments.py @@ -13,6 +13,13 @@ module: profitbricks_volume_attachments short_description: Attach or detach a volume description: - Allows you to attach or detach a volume from a ProfitBricks server. This module has a dependency on profitbricks >= 1.0.0. +deprecated: + removed_in: 11.0.0 + why: Module relies on library unsupported since 2021. + alternative: > + Profitbricks has rebranded as Ionos Cloud and they provide a collection named ionoscloudsdk.ionoscloud. + Whilst it is likely it will provide the features of this module, that has not been verified. + Please refer to that collectionś documentation for more details. extends_documentation_fragment: - community.general.attributes attributes: