diff --git a/.github/release-please-manifest.json b/.github/release-please-manifest.json index 0df986f..a12c1c7 100644 --- a/.github/release-please-manifest.json +++ b/.github/release-please-manifest.json @@ -1 +1 @@ -{".":"6.2.1"} +{".":"6.3.0"} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 4cf7a91..25d0f0e 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,6 +4,67 @@ Hetzner Cloud Ansible Collection Release Notes .. contents:: Topics +v6.3.0 +====== + +Release Summary +--------------- + +This release adds support for the new `Storage Box API`_. + +Storage Box support is **experimental**, breaking changes may occur within minor releases. + +See the `experimental tracking issue`_ for more details. + +**Examples** + +.. code:: yaml + + - name: Create a Storage Box + hetzner.hcloud.storage_box: + name: backups + storage_box_type: bx11 + location: fsn1 + password: my-secret + access_settings: + reachable_externally: true + ssh_enabled: true + state: present + + - name: Create a Storage Box Subaccount + hetzner.hcloud.storage_box_subaccount: + storage_box: backups + name: subaccount1 + home_directory: backups/subaccount1 + password: secret + access_settings: + readonly: true + labels: + env: prod + state: present + + - name: Take a Storage Box Snapshot + hetzner.hcloud.storage_box_snapshot: + storage_box: backups + description: before app migration + labels: + env: prod + state: present + +.. _Storage Box API: https://docs.hetzner.cloud/reference/hetzner#storage-boxes +.. _experimental tracking issue: https://github.com/ansible-collections/hetzner.hcloud/issues/756 + +Minor Changes +------------- + +- storage_box - New module to create and manage Storage Boxes in Hetzner. +- storage_box_info - New module to gather infos about Hetzner Storage Boxes. +- storage_box_snapshot - New module to create and manage Storage Box Snapshots in Hetzner. +- storage_box_snapshot_info - New module to gather infos about Hetzner Storage Box Snapshots. +- storage_box_subaccount - New module to create and manage Storage Box Subaccounts in Hetzner. +- storage_box_subaccount_info - New module to gather infos about Hetzner Storage Box Subaccounts. +- storage_box_type_info - New module to gather infos about Hetzner Storage Box Types. + v6.2.1 ====== diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 6641a2e..32fc070 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -822,3 +822,37 @@ releases: fragments: - zone-rrsets-idempotency.yml release_date: '2025-11-17' + 6.3.0: + changes: + minor_changes: + - storage_box - New module to create and manage Storage Boxes in Hetzner. + - storage_box_info - New module to gather infos about Hetzner Storage Boxes. + - storage_box_snapshot - New module to create and manage Storage Box Snapshots + in Hetzner. + - storage_box_snapshot_info - New module to gather infos about Hetzner Storage + Box Snapshots. + - storage_box_subaccount - New module to create and manage Storage Box Subaccounts + in Hetzner. + - storage_box_subaccount_info - New module to gather infos about Hetzner Storage + Box Subaccounts. + - storage_box_type_info - New module to gather infos about Hetzner Storage Box + Types. + release_summary: "This release adds support for the new `Storage Box API`_.\n\nStorage + Box support is **experimental**, breaking changes may occur within minor releases.\n\nSee + the `experimental tracking issue`_ for more details.\n\n**Examples**\n\n.. + code:: yaml\n\n - name: Create a Storage Box\n hetzner.hcloud.storage_box:\n + \ name: backups\n storage_box_type: bx11\n location: fsn1\n + \ password: my-secret\n access_settings:\n reachable_externally: + true\n ssh_enabled: true\n state: present\n\n - name: Create + a Storage Box Subaccount\n hetzner.hcloud.storage_box_subaccount:\n storage_box: + backups\n name: subaccount1\n home_directory: backups/subaccount1\n + \ password: secret\n access_settings:\n readonly: true\n + \ labels:\n env: prod\n state: present\n\n - name: + Take a Storage Box Snapshot\n hetzner.hcloud.storage_box_snapshot:\n + \ storage_box: backups\n description: before app migration\n + \ labels:\n env: prod\n state: present\n\n.. _Storage + Box API: https://docs.hetzner.cloud/reference/hetzner#storage-boxes\n.. _experimental + tracking issue: https://github.com/ansible-collections/hetzner.hcloud/issues/756\n" + fragments: + - storage-boxes.yml + release_date: '2025-12-10' diff --git a/changelogs/dev-changelog.md b/changelogs/dev-changelog.md index ec626d2..dac7581 100644 --- a/changelogs/dev-changelog.md +++ b/changelogs/dev-changelog.md @@ -1,5 +1,12 @@ # Changelog +## [6.3.0](https://github.com/ansible-collections/hetzner.hcloud/compare/6.2.1...6.3.0) (2025-12-10) + + +### Features + +* add support for Storage Boxes ([#676](https://github.com/ansible-collections/hetzner.hcloud/issues/676)) ([5394c6f](https://github.com/ansible-collections/hetzner.hcloud/commit/5394c6f2466d1d30193df643367918dada18be72)) + ## [6.2.1](https://github.com/ansible-collections/hetzner.hcloud/compare/6.2.0...6.2.1) (2025-11-17) diff --git a/changelogs/fragments/storage-boxes.yml b/changelogs/fragments/storage-boxes.yml deleted file mode 100644 index 39645a3..0000000 --- a/changelogs/fragments/storage-boxes.yml +++ /dev/null @@ -1,52 +0,0 @@ -minor_changes: - - storage_box - New module to create and manage Storage Boxes in Hetzner. - - storage_box_info - New module to gather infos about Hetzner Storage Boxes. - - storage_box_snapshot - New module to create and manage Storage Box Snapshots in Hetzner. - - storage_box_snapshot_info - New module to gather infos about Hetzner Storage Box Snapshots. - - storage_box_subaccount - New module to create and manage Storage Box Subaccounts in Hetzner. - - storage_box_subaccount_info - New module to gather infos about Hetzner Storage Box Subaccounts. - - storage_box_type_info - New module to gather infos about Hetzner Storage Box Types. -release_summary: | - This release adds support for the new `Storage Box API`_. - - Storage Box support is **experimental**, breaking changes may occur within minor releases. - - See the `experimental tracking issue`_ for more details. - - **Examples** - - .. code:: yaml - - - name: Create a Storage Box - hetzner.hcloud.storage_box: - name: backups - storage_box_type: bx11 - location: fsn1 - password: my-secret - access_settings: - reachable_externally: true - ssh_enabled: true - state: present - - - name: Create a Storage Box Subaccount - hetzner.hcloud.storage_box_subaccount: - storage_box: backups - name: subaccount1 - home_directory: backups/subaccount1 - password: secret - access_settings: - readonly: true - labels: - env: prod - state: present - - - name: Take a Storage Box Snapshot - hetzner.hcloud.storage_box_snapshot: - storage_box: backups - description: before app migration - labels: - env: prod - state: present - - .. _Storage Box API: https://docs.hetzner.cloud/reference/hetzner#storage-boxes - .. _experimental tracking issue: https://github.com/ansible-collections/hetzner.hcloud/issues/756 diff --git a/galaxy.yml b/galaxy.yml index 01e3b2f..d6b3f62 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,6 +1,6 @@ namespace: hetzner name: hcloud -version: 6.2.1 +version: 6.3.0 readme: README.md authors: - Hetzner Cloud (github.com/hetznercloud) diff --git a/plugins/module_utils/version.py b/plugins/module_utils/version.py index e67add8..61b34d8 100644 --- a/plugins/module_utils/version.py +++ b/plugins/module_utils/version.py @@ -1,3 +1,3 @@ from __future__ import annotations -version = "6.2.1" # x-release-please-version +version = "6.3.0" # x-release-please-version