1
0
Fork 0
mirror of https://github.com/ansible-collections/hetzner.hcloud.git synced 2026-02-03 23:51:48 +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:
Hetzner Cloud Bot 2025-09-26 12:51:32 +02:00 committed by GitHub
parent 866c034186
commit 2864379079
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 167 additions and 94 deletions

View file

@ -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
======