mirror of
https://github.com/ansible-collections/hetzner.hcloud.git
synced 2026-02-04 08:01:49 +00:00
chore(main): release 5.3.0 (#695)
🤖 I have created a release *beep* *boop* --- ## [5.3.0](https://github.com/ansible-collections/hetzner.hcloud/compare/5.2.0...5.3.0) (2025-09-26) ### Features * per location server types ([#692](https://github.com/ansible-collections/hetzner.hcloud/issues/692)) ([826e6a5](826e6a5309)) * return server type category ([#687](https://github.com/ansible-collections/hetzner.hcloud/issues/687)) ([3d809cb](3d809cbc6f)) ### Bug Fixes * wait for floating ip assign action ([#694](https://github.com/ansible-collections/hetzner.hcloud/issues/694)) ([c3ec5d1](c3ec5d1dcc)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
This commit is contained in:
parent
866c034186
commit
2864379079
9 changed files with 167 additions and 94 deletions
2
.github/release-please-manifest.json
vendored
2
.github/release-please-manifest.json
vendored
|
|
@ -1 +1 @@
|
|||
{".":"5.2.0"}
|
||||
{".":"5.3.0"}
|
||||
|
|
|
|||
104
CHANGELOG.rst
104
CHANGELOG.rst
|
|
@ -4,6 +4,110 @@ Hetzner Cloud Ansible Collection Release Notes
|
|||
|
||||
.. contents:: Topics
|
||||
|
||||
v5.3.0
|
||||
======
|
||||
|
||||
Release Summary
|
||||
---------------
|
||||
|
||||
`Server Types`_ now depend on `Locations`_.
|
||||
|
||||
- We added a new ``locations`` property to the `Server Types`_ resource. The new
|
||||
property defines a list of supported `Locations`_ and additional per `Locations`_
|
||||
details such as deprecations information.
|
||||
|
||||
- We deprecated the ``deprecation`` property from the `Server Types`_ resource. The
|
||||
property will gradually be phased out as per `Locations`_ deprecations are being
|
||||
announced. Please use the new per `Locations`_ deprecation information instead.
|
||||
|
||||
See our `changelog`_ for more details.
|
||||
|
||||
**Upgrading**
|
||||
|
||||
.. code:: yaml
|
||||
|
||||
# Before
|
||||
---
|
||||
- name: Validate server type
|
||||
hosts: localhost
|
||||
connection: local
|
||||
tasks:
|
||||
- name: Fetch server type info
|
||||
hetzner.hcloud.server_type_info:
|
||||
name: cx22
|
||||
register: server_type
|
||||
|
||||
- name: Ensure server type exists
|
||||
ansible.builtin.assert:
|
||||
fail_msg: server type does not exists
|
||||
that:
|
||||
- server_type.hcloud_server_type_info | count == 1
|
||||
|
||||
- name: Ensure server type is not deprecated
|
||||
ansible.builtin.assert:
|
||||
fail_msg: server type is deprecated
|
||||
that:
|
||||
- server_type.hcloud_server_type_info[0].deprecation is none
|
||||
|
||||
.. code:: yaml
|
||||
|
||||
# After
|
||||
---
|
||||
- name: Validate server type
|
||||
hosts: localhost
|
||||
connection: local
|
||||
tasks:
|
||||
- name: Fetch location info
|
||||
hetzner.hcloud.location_info:
|
||||
name: fsn1
|
||||
register: location
|
||||
|
||||
- name: Fetch server type info
|
||||
hetzner.hcloud.server_type_info:
|
||||
name: cx22
|
||||
register: server_type
|
||||
|
||||
- name: Ensure server type exists
|
||||
ansible.builtin.assert:
|
||||
fail_msg: server type does not exists
|
||||
that:
|
||||
- server_type.hcloud_server_type_info | count == 1
|
||||
|
||||
- name: Extract server type location info
|
||||
ansible.builtin.set_fact:
|
||||
server_type_location: >
|
||||
{{
|
||||
server_type.hcloud_server_type_info[0].locations
|
||||
| selectattr("name", "eq", location.hcloud_location_info[0].name)
|
||||
| first
|
||||
}}
|
||||
|
||||
- name: Ensure server type is not deprecated
|
||||
ansible.builtin.assert:
|
||||
fail_msg: server type is deprecated in location
|
||||
that:
|
||||
- server_type_location.deprecation is none
|
||||
|
||||
.. _Server Types: https://docs.hetzner.cloud/reference/cloud#server-types
|
||||
.. _Locations: https://docs.hetzner.cloud/reference/cloud#locations
|
||||
.. _changelog: https://docs.hetzner.cloud/changelog#2025-09-24-per-location-server-types
|
||||
|
||||
Minor Changes
|
||||
-------------
|
||||
|
||||
- server_type_info - Return new Server Type ``category`` property.
|
||||
- server_type_info - Return new Server Type ``locations`` property.
|
||||
|
||||
Deprecated Features
|
||||
-------------------
|
||||
|
||||
- server_type_info - Deprecate Server Type ``deprecation`` property.
|
||||
|
||||
Bugfixes
|
||||
--------
|
||||
|
||||
- floating_ip - Wait for the Floating IP assign action to complete to reduce chances of running into ``locked`` errors.
|
||||
|
||||
v5.2.0
|
||||
======
|
||||
|
||||
|
|
|
|||
|
|
@ -682,3 +682,50 @@ releases:
|
|||
- missing-volume-attachment-meta.yml
|
||||
- rename-volume.yml
|
||||
release_date: '2025-08-14'
|
||||
5.3.0:
|
||||
changes:
|
||||
bugfixes:
|
||||
- floating_ip - Wait for the Floating IP assign action to complete to reduce
|
||||
chances of running into ``locked`` errors.
|
||||
deprecated_features:
|
||||
- server_type_info - Deprecate Server Type ``deprecation`` property.
|
||||
minor_changes:
|
||||
- server_type_info - Return new Server Type ``category`` property.
|
||||
- server_type_info - Return new Server Type ``locations`` property.
|
||||
release_summary: "`Server Types`_ now depend on `Locations`_.\n\n- We added
|
||||
a new ``locations`` property to the `Server Types`_ resource. The new\n property
|
||||
defines a list of supported `Locations`_ and additional per `Locations`_\n
|
||||
\ details such as deprecations information.\n\n- We deprecated the ``deprecation``
|
||||
property from the `Server Types`_ resource. The\n property will gradually
|
||||
be phased out as per `Locations`_ deprecations are being\n announced. Please
|
||||
use the new per `Locations`_ deprecation information instead.\n\nSee our `changelog`_
|
||||
for more details.\n\n**Upgrading**\n\n.. code:: yaml\n\n # Before\n ---\n
|
||||
\ - name: Validate server type\n hosts: localhost\n connection:
|
||||
local\n tasks:\n - name: Fetch server type info\n hetzner.hcloud.server_type_info:\n
|
||||
\ name: cx22\n register: server_type\n\n - name:
|
||||
Ensure server type exists\n ansible.builtin.assert:\n fail_msg:
|
||||
server type does not exists\n that:\n - server_type.hcloud_server_type_info
|
||||
| count == 1\n\n - name: Ensure server type is not deprecated\n ansible.builtin.assert:\n
|
||||
\ fail_msg: server type is deprecated\n that:\n -
|
||||
server_type.hcloud_server_type_info[0].deprecation is none\n\n.. code:: yaml\n\n
|
||||
\ # After\n ---\n - name: Validate server type\n hosts: localhost\n
|
||||
\ connection: local\n tasks:\n - name: Fetch location info\n
|
||||
\ hetzner.hcloud.location_info:\n name: fsn1\n register:
|
||||
location\n\n - name: Fetch server type info\n hetzner.hcloud.server_type_info:\n
|
||||
\ name: cx22\n register: server_type\n\n - name:
|
||||
Ensure server type exists\n ansible.builtin.assert:\n fail_msg:
|
||||
server type does not exists\n that:\n - server_type.hcloud_server_type_info
|
||||
| count == 1\n\n - name: Extract server type location info\n ansible.builtin.set_fact:\n
|
||||
\ server_type_location: >\n {{\n server_type.hcloud_server_type_info[0].locations\n
|
||||
\ | selectattr(\"name\", \"eq\", location.hcloud_location_info[0].name)\n
|
||||
\ | first\n }}\n\n - name: Ensure server
|
||||
type is not deprecated\n ansible.builtin.assert:\n fail_msg:
|
||||
server type is deprecated in location\n that:\n -
|
||||
server_type_location.deprecation is none\n\n.. _Server Types: https://docs.hetzner.cloud/reference/cloud#server-types\n..
|
||||
_Locations: https://docs.hetzner.cloud/reference/cloud#locations\n.. _changelog:
|
||||
https://docs.hetzner.cloud/changelog#2025-09-24-per-location-server-types\n"
|
||||
fragments:
|
||||
- add-server-type-category.yml
|
||||
- per-location-server-types.yml
|
||||
- wait-floating-ip-assign-action.yml
|
||||
release_date: '2025-09-26'
|
||||
|
|
|
|||
|
|
@ -1,5 +1,18 @@
|
|||
# Changelog
|
||||
|
||||
## [5.3.0](https://github.com/ansible-collections/hetzner.hcloud/compare/5.2.0...5.3.0) (2025-09-26)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* per location server types ([#692](https://github.com/ansible-collections/hetzner.hcloud/issues/692)) ([826e6a5](https://github.com/ansible-collections/hetzner.hcloud/commit/826e6a5309b3b46d1a0a1d43933efe2439ff1fd3))
|
||||
* return server type category ([#687](https://github.com/ansible-collections/hetzner.hcloud/issues/687)) ([3d809cb](https://github.com/ansible-collections/hetzner.hcloud/commit/3d809cbc6f21d26085e7dd6aaa7768599456f845))
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* wait for floating ip assign action ([#694](https://github.com/ansible-collections/hetzner.hcloud/issues/694)) ([c3ec5d1](https://github.com/ansible-collections/hetzner.hcloud/commit/c3ec5d1dcc9e0662c690da06d7f22e7121c46ec0))
|
||||
|
||||
## [5.2.0](https://github.com/ansible-collections/hetzner.hcloud/compare/5.1.0...5.2.0) (2025-08-14)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +0,0 @@
|
|||
minor_changes:
|
||||
- server_type_info - Return new Server Type ``category`` property.
|
||||
|
|
@ -1,87 +0,0 @@
|
|||
release_summary: |
|
||||
`Server Types`_ now depend on `Locations`_.
|
||||
|
||||
- We added a new ``locations`` property to the `Server Types`_ resource. The new
|
||||
property defines a list of supported `Locations`_ and additional per `Locations`_
|
||||
details such as deprecations information.
|
||||
|
||||
- We deprecated the ``deprecation`` property from the `Server Types`_ resource. The
|
||||
property will gradually be phased out as per `Locations`_ deprecations are being
|
||||
announced. Please use the new per `Locations`_ deprecation information instead.
|
||||
|
||||
See our `changelog`_ for more details.
|
||||
|
||||
**Upgrading**
|
||||
|
||||
.. code:: yaml
|
||||
|
||||
# Before
|
||||
---
|
||||
- name: Validate server type
|
||||
hosts: localhost
|
||||
connection: local
|
||||
tasks:
|
||||
- name: Fetch server type info
|
||||
hetzner.hcloud.server_type_info:
|
||||
name: cx22
|
||||
register: server_type
|
||||
|
||||
- name: Ensure server type exists
|
||||
ansible.builtin.assert:
|
||||
fail_msg: server type does not exists
|
||||
that:
|
||||
- server_type.hcloud_server_type_info | count == 1
|
||||
|
||||
- name: Ensure server type is not deprecated
|
||||
ansible.builtin.assert:
|
||||
fail_msg: server type is deprecated
|
||||
that:
|
||||
- server_type.hcloud_server_type_info[0].deprecation is none
|
||||
|
||||
.. code:: yaml
|
||||
|
||||
# After
|
||||
---
|
||||
- name: Validate server type
|
||||
hosts: localhost
|
||||
connection: local
|
||||
tasks:
|
||||
- name: Fetch location info
|
||||
hetzner.hcloud.location_info:
|
||||
name: fsn1
|
||||
register: location
|
||||
|
||||
- name: Fetch server type info
|
||||
hetzner.hcloud.server_type_info:
|
||||
name: cx22
|
||||
register: server_type
|
||||
|
||||
- name: Ensure server type exists
|
||||
ansible.builtin.assert:
|
||||
fail_msg: server type does not exists
|
||||
that:
|
||||
- server_type.hcloud_server_type_info | count == 1
|
||||
|
||||
- name: Extract server type location info
|
||||
ansible.builtin.set_fact:
|
||||
server_type_location: >
|
||||
{{
|
||||
server_type.hcloud_server_type_info[0].locations
|
||||
| selectattr("name", "eq", location.hcloud_location_info[0].name)
|
||||
| first
|
||||
}}
|
||||
|
||||
- name: Ensure server type is not deprecated
|
||||
ansible.builtin.assert:
|
||||
fail_msg: server type is deprecated in location
|
||||
that:
|
||||
- server_type_location.deprecation is none
|
||||
|
||||
.. _Server Types: https://docs.hetzner.cloud/reference/cloud#server-types
|
||||
.. _Locations: https://docs.hetzner.cloud/reference/cloud#locations
|
||||
.. _changelog: https://docs.hetzner.cloud/changelog#2025-09-24-per-location-server-types
|
||||
|
||||
minor_changes:
|
||||
- server_type_info - Return new Server Type ``locations`` property.
|
||||
deprecated_features:
|
||||
- server_type_info - Deprecate Server Type ``deprecation`` property.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
bugfixes:
|
||||
- floating_ip - Wait for the Floating IP assign action to complete to reduce chances of running into ``locked`` errors.
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
namespace: hetzner
|
||||
name: hcloud
|
||||
version: 5.2.0
|
||||
version: 5.3.0
|
||||
readme: README.md
|
||||
authors:
|
||||
- Hetzner Cloud (github.com/hetznercloud)
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
from __future__ import annotations
|
||||
|
||||
version = "5.2.0" # x-release-please-version
|
||||
version = "5.3.0" # x-release-please-version
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue