1
0
Fork 0
mirror of https://github.com/ansible-collections/hetzner.hcloud.git synced 2026-02-03 23:51:48 +00:00

feat: Storage Box support no longer experimental (#793)

##### SUMMARY

Storage Box support is no longer experimental and the warnings can be
removed.


Closes #756

---------

Co-authored-by: jo <ljonas@riseup.net>
This commit is contained in:
phm07 2026-01-23 16:29:00 +01:00 committed by GitHub
parent 7f535fef44
commit d52e86d944
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 11 additions and 56 deletions

View file

@ -0,0 +1,11 @@
release_summary: |
The experimental phase for Storage Boxes is over, and Storage Boxes support is now generally available.
minor_changes:
- storage_box - The module is no longer marked as experimental.
- storage_box_info - The module is no longer marked as experimental.
- storage_box_snapshot - The module is no longer marked as experimental.
- storage_box_snapshot_info - The module is no longer marked as experimental.
- storage_box_subaccount - The module is no longer marked as experimental.
- storage_box_subaccount_info - The module is no longer marked as experimental.
- storage_box_type_info - The module is no longer marked as experimental.

View file

@ -35,10 +35,3 @@ def experimental_warning_function(product: str, maturity: str, url: str):
module.warn(message) module.warn(message)
return fn return fn
storage_box_experimental_warning = experimental_warning_function(
"Storage Box support",
"experimental",
"https://github.com/ansible-collections/hetzner.hcloud/issues/756",
)

View file

@ -15,8 +15,6 @@ short_description: Create and manage Storage Boxes in Hetzner.
description: description:
- Create, update and delete Storage Boxes in Hetzner. - Create, update and delete Storage Boxes in Hetzner.
- See the L(Storage Boxes API documentation,https://docs.hetzner.cloud/reference/hetzner#storage-boxes) for more details. - See the L(Storage Boxes API documentation,https://docs.hetzner.cloud/reference/hetzner#storage-boxes) for more details.
- B(Experimental:) Storage Box support is experimental, breaking changes may occur within minor releases.
See https://github.com/ansible-collections/hetzner.hcloud/issues/756 for more details.
author: author:
- Jonas Lammler (@jooola) - Jonas Lammler (@jooola)
@ -346,7 +344,6 @@ hcloud_storage_box:
from ..module_utils import _storage_box from ..module_utils import _storage_box
from ..module_utils._base import AnsibleHCloud, AnsibleModule from ..module_utils._base import AnsibleHCloud, AnsibleModule
from ..module_utils._client import client_resource_not_found from ..module_utils._client import client_resource_not_found
from ..module_utils._experimental import storage_box_experimental_warning
from ..module_utils._vendor.hcloud import HCloudException from ..module_utils._vendor.hcloud import HCloudException
from ..module_utils._vendor.hcloud.locations import Location from ..module_utils._vendor.hcloud.locations import Location
from ..module_utils._vendor.hcloud.storage_box_types import StorageBoxType from ..module_utils._vendor.hcloud.storage_box_types import StorageBoxType
@ -363,10 +360,6 @@ class AnsibleStorageBox(AnsibleHCloud):
storage_box: BoundStorageBox | None = None storage_box: BoundStorageBox | None = None
def __init__(self, module: AnsibleModule):
storage_box_experimental_warning(module)
super().__init__(module)
def _prepare_result(self): def _prepare_result(self):
if self.storage_box is not None: if self.storage_box is not None:
return _storage_box.prepare_result(self.storage_box) return _storage_box.prepare_result(self.storage_box)

View file

@ -15,8 +15,6 @@ short_description: Gather infos about Hetzner Storage Boxes.
description: description:
- Gather infos about Hetzner Storage Boxes. - Gather infos about Hetzner Storage Boxes.
- See the L(Storage Boxes API documentation,https://docs.hetzner.cloud/reference/hetzner#storage-boxes) for more details. - See the L(Storage Boxes API documentation,https://docs.hetzner.cloud/reference/hetzner#storage-boxes) for more details.
- B(Experimental:) Storage Box support is experimental, breaking changes may occur within minor releases.
See https://github.com/ansible-collections/hetzner.hcloud/issues/756 for more details.
author: author:
- Jonas Lammler (@jooola) - Jonas Lammler (@jooola)
@ -187,7 +185,6 @@ from ansible.module_utils.basic import AnsibleModule
from ..module_utils import _storage_box from ..module_utils import _storage_box
from ..module_utils._base import AnsibleHCloud from ..module_utils._base import AnsibleHCloud
from ..module_utils._experimental import storage_box_experimental_warning
from ..module_utils._vendor.hcloud import HCloudException from ..module_utils._vendor.hcloud import HCloudException
from ..module_utils._vendor.hcloud.storage_boxes import ( from ..module_utils._vendor.hcloud.storage_boxes import (
BoundStorageBox, BoundStorageBox,
@ -199,10 +196,6 @@ class AnsibleStorageBox(AnsibleHCloud):
storage_box: list[BoundStorageBox] | None = None storage_box: list[BoundStorageBox] | None = None
def __init__(self, module: AnsibleModule):
storage_box_experimental_warning(module)
super().__init__(module)
def _prepare_result(self): def _prepare_result(self):
result = [] result = []
for o in self.storage_box or []: for o in self.storage_box or []:

View file

@ -15,8 +15,6 @@ short_description: Create and manage Storage Box Snapshots in Hetzner.
description: description:
- Create, update and delete Storage Box Snapshots in Hetzner. - Create, update and delete Storage Box Snapshots in Hetzner.
- See the L(Storage Box Snapshots API documentation,https://docs.hetzner.cloud/reference/hetzner#storage-box-snapshots) for more details. - See the L(Storage Box Snapshots API documentation,https://docs.hetzner.cloud/reference/hetzner#storage-box-snapshots) for more details.
- B(Experimental:) Storage Box support is experimental, breaking changes may occur within minor releases.
See https://github.com/ansible-collections/hetzner.hcloud/issues/756 for more details.
author: author:
- Jonas Lammler (@jooola) - Jonas Lammler (@jooola)
@ -142,7 +140,6 @@ hcloud_storage_box_snapshot:
from ..module_utils import _storage_box, _storage_box_snapshot from ..module_utils import _storage_box, _storage_box_snapshot
from ..module_utils._base import AnsibleHCloud, AnsibleModule from ..module_utils._base import AnsibleHCloud, AnsibleModule
from ..module_utils._experimental import storage_box_experimental_warning
from ..module_utils._vendor.hcloud import HCloudException from ..module_utils._vendor.hcloud import HCloudException
from ..module_utils._vendor.hcloud.storage_boxes import ( from ..module_utils._vendor.hcloud.storage_boxes import (
BoundStorageBox, BoundStorageBox,
@ -156,10 +153,6 @@ class AnsibleStorageBoxSnapshot(AnsibleHCloud):
storage_box: BoundStorageBox | None = None storage_box: BoundStorageBox | None = None
storage_box_snapshot: BoundStorageBoxSnapshot | None = None storage_box_snapshot: BoundStorageBoxSnapshot | None = None
def __init__(self, module: AnsibleModule):
storage_box_experimental_warning(module)
super().__init__(module)
def _prepare_result(self): def _prepare_result(self):
if self.storage_box_snapshot is None: if self.storage_box_snapshot is None:
return {} return {}

View file

@ -15,8 +15,6 @@ short_description: Gather infos about Hetzner Storage Box Snapshots.
description: description:
- Gather infos about Hetzner Storage Box Snapshots. - Gather infos about Hetzner Storage Box Snapshots.
- See the L(Storage Boxes API documentation,https://docs.hetzner.cloud/reference/hetzner#storage-boxes) for more details. - See the L(Storage Boxes API documentation,https://docs.hetzner.cloud/reference/hetzner#storage-boxes) for more details.
- B(Experimental:) Storage Box support is experimental, breaking changes may occur within minor releases.
See https://github.com/ansible-collections/hetzner.hcloud/issues/756 for more details.
author: author:
- Jonas Lammler (@jooola) - Jonas Lammler (@jooola)
@ -136,7 +134,6 @@ hcloud_storage_box_snapshot_info:
from ..module_utils import _storage_box, _storage_box_snapshot from ..module_utils import _storage_box, _storage_box_snapshot
from ..module_utils._base import AnsibleHCloud, AnsibleModule from ..module_utils._base import AnsibleHCloud, AnsibleModule
from ..module_utils._experimental import storage_box_experimental_warning
from ..module_utils._vendor.hcloud import HCloudException from ..module_utils._vendor.hcloud import HCloudException
from ..module_utils._vendor.hcloud.storage_boxes import ( from ..module_utils._vendor.hcloud.storage_boxes import (
BoundStorageBox, BoundStorageBox,
@ -150,10 +147,6 @@ class AnsibleStorageBoxSnapshotInfo(AnsibleHCloud):
storage_box: BoundStorageBox | None = None storage_box: BoundStorageBox | None = None
storage_box_snapshots: list[BoundStorageBoxSnapshot] | None = None storage_box_snapshots: list[BoundStorageBoxSnapshot] | None = None
def __init__(self, module: AnsibleModule):
storage_box_experimental_warning(module)
super().__init__(module)
def _prepare_result(self): def _prepare_result(self):
result = [] result = []

View file

@ -15,8 +15,6 @@ short_description: Create and manage Storage Box Subaccounts in Hetzner.
description: description:
- Create, update and delete Storage Box Subaccounts in Hetzner. - Create, update and delete Storage Box Subaccounts in Hetzner.
- See the L(Storage Box Subaccounts API documentation,https://docs.hetzner.cloud/reference/hetzner#storage-box-subaccounts) for more details. - See the L(Storage Box Subaccounts API documentation,https://docs.hetzner.cloud/reference/hetzner#storage-box-subaccounts) for more details.
- B(Experimental:) Storage Box support is experimental, breaking changes may occur within minor releases.
See https://github.com/ansible-collections/hetzner.hcloud/issues/756 for more details.
author: author:
- Jonas Lammler (@jooola) - Jonas Lammler (@jooola)
@ -225,7 +223,6 @@ hcloud_storage_box_subaccount:
from ..module_utils import _storage_box, _storage_box_subaccount from ..module_utils import _storage_box, _storage_box_subaccount
from ..module_utils._base import AnsibleHCloud, AnsibleModule from ..module_utils._base import AnsibleHCloud, AnsibleModule
from ..module_utils._client import client_resource_not_found from ..module_utils._client import client_resource_not_found
from ..module_utils._experimental import storage_box_experimental_warning
from ..module_utils._vendor.hcloud import HCloudException from ..module_utils._vendor.hcloud import HCloudException
from ..module_utils._vendor.hcloud.storage_boxes import ( from ..module_utils._vendor.hcloud.storage_boxes import (
BoundStorageBox, BoundStorageBox,
@ -240,10 +237,6 @@ class AnsibleStorageBoxSubaccount(AnsibleHCloud):
storage_box: BoundStorageBox | None = None storage_box: BoundStorageBox | None = None
storage_box_subaccount: BoundStorageBoxSubaccount | None = None storage_box_subaccount: BoundStorageBoxSubaccount | None = None
def __init__(self, module: AnsibleModule):
storage_box_experimental_warning(module)
super().__init__(module)
def _prepare_result(self): def _prepare_result(self):
if self.storage_box_subaccount is None: if self.storage_box_subaccount is None:
return {} return {}

View file

@ -15,8 +15,6 @@ short_description: Gather infos about Hetzner Storage Box Subaccounts.
description: description:
- Gather infos about Hetzner Storage Box Subaccounts. - Gather infos about Hetzner Storage Box Subaccounts.
- See the L(Storage Box Subaccounts API documentation,https://docs.hetzner.cloud/reference/hetzner#storage-box-subaccounts) for more details. - See the L(Storage Box Subaccounts API documentation,https://docs.hetzner.cloud/reference/hetzner#storage-box-subaccounts) for more details.
- B(Experimental:) Storage Box support is experimental, breaking changes may occur within minor releases.
See https://github.com/ansible-collections/hetzner.hcloud/issues/756 for more details.
author: author:
- Jonas Lammler (@jooola) - Jonas Lammler (@jooola)
@ -160,7 +158,6 @@ from ansible.module_utils.basic import AnsibleModule
from ..module_utils import _storage_box, _storage_box_subaccount from ..module_utils import _storage_box, _storage_box_subaccount
from ..module_utils._base import AnsibleHCloud from ..module_utils._base import AnsibleHCloud
from ..module_utils._experimental import storage_box_experimental_warning
from ..module_utils._vendor.hcloud import HCloudException from ..module_utils._vendor.hcloud import HCloudException
from ..module_utils._vendor.hcloud.storage_boxes import ( from ..module_utils._vendor.hcloud.storage_boxes import (
BoundStorageBox, BoundStorageBox,
@ -174,10 +171,6 @@ class AnsibleStorageBoxSubaccountInfo(AnsibleHCloud):
storage_box: BoundStorageBox | None = None storage_box: BoundStorageBox | None = None
storage_box_subaccounts: list[BoundStorageBoxSubaccount] | None = None storage_box_subaccounts: list[BoundStorageBoxSubaccount] | None = None
def __init__(self, module: AnsibleModule):
storage_box_experimental_warning(module)
super().__init__(module)
def _prepare_result(self): def _prepare_result(self):
result = [] result = []

View file

@ -15,8 +15,6 @@ short_description: Gather infos about Hetzner Storage Box Types.
description: description:
- Gather infos about available Hetzner Storage Box Types. - Gather infos about available Hetzner Storage Box Types.
- See the L(Storage Box Types documentation,https://docs.hetzner.cloud/reference/hetzner#storage-box-types) for more details. - See the L(Storage Box Types documentation,https://docs.hetzner.cloud/reference/hetzner#storage-box-types) for more details.
- B(Experimental:) Storage Box support is experimental, breaking changes may occur within minor releases.
See https://github.com/ansible-collections/hetzner.hcloud/issues/756 for more details.
author: author:
- Jonas Lammler (@jooola) - Jonas Lammler (@jooola)
@ -111,7 +109,6 @@ hcloud_storage_box_type_info:
from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.basic import AnsibleModule
from ..module_utils._base import AnsibleHCloud from ..module_utils._base import AnsibleHCloud
from ..module_utils._experimental import storage_box_experimental_warning
from ..module_utils._vendor.hcloud import HCloudException from ..module_utils._vendor.hcloud import HCloudException
from ..module_utils._vendor.hcloud.storage_box_types import BoundStorageBoxType from ..module_utils._vendor.hcloud.storage_box_types import BoundStorageBoxType
@ -121,10 +118,6 @@ class AnsibleStorageBoxTypeInfo(AnsibleHCloud):
storage_box_types: list[BoundStorageBoxType] | None = None storage_box_types: list[BoundStorageBoxType] | None = None
def __init__(self, module: AnsibleModule):
storage_box_experimental_warning(module)
super().__init__(module)
def _prepare_result(self): def _prepare_result(self):
result = [] result = []