Debian Codegraph @

ansible_collections/hetzner/hcloud/CHANGELOG.rst

raw
1 ==============================================
2 Hetzner Cloud Ansible Collection Release Notes
3 ==============================================
4
5 .. contents:: Topics
6
7 v6.9.0
8 ======
9
10 Release Summary
11 ---------------
12
13 **Server Types availability and recommendation details moved**
14
15 Server Types availability and recommendation details moved from the
16 ``datacenter_info`` module to the ``server_type_info`` module.
17
18 See the `changelog <https://docs.hetzner.cloud/changelog#2026-04-01-datacenter-deprecations>`__ for more details.
19
20 **Primary IPs ``assignee_type`` behavior change**
21
22 As of 1 August 2026, the behavior of the Primary IP ``assignee_type`` property
23 will change, and will return ``unassigned`` when the Primary IP is not assigned
24 (when ``assignee_id`` is ``null``). The goal is to eventually assign Primary IPs to
25 other resource types, not only to ``server``.
26
27 See the `changelog <https://docs.hetzner.cloud/changelog#2026-04-27-primary-ips-will-return-unassigned>`__ for more details.
28
29 In addition, the Primary IP request body ``assignee_type`` property of the operation
30 `POST /v1/primary_ips <https://docs.hetzner.cloud/reference/cloud#tag/primary-ips/create_primary_ip>`__ is
31 now optional. Primary IPs created without ``assignee_type`` return ``server`` until 1 August 2026, after this date,
32 its value will be ``unassigned``.
33
34 See the `changelog <https://docs.hetzner.cloud/changelog#2026-04-27-primary-ips-make-assignee_type-optional>`__ for more details.
35
36 Minor Changes
37 -------------
38
39 - primary_ip - Primary IP support upcoming ``assignee_type`` behavior change.
40 - server_type_info - Added the Server Type Location ``available`` property to the return values (``hcloud_server_type_info[].locations[].available``).
41 - server_type_info - Added the Server Type Location ``recommended`` property to the return values (``hcloud_server_type_info[].locations[].recommended``).
42
43 Deprecated Features
44 -------------------
45
46 - datacenter_info - The ``hcloud_datacenter_info[].server_types`` return value is deprecated and will be removed after 1 October 2026. Please use the ``hcloud_server_type_info[].locations[].available`` return value instead.
47
48 v6.8.0
49 ======
50
51 Minor Changes
52 -------------
53
54 - primary_ip - Assign to new server if ``server`` is changed.
55 - primary_ip - Unassign primary_ip if ``server`` is null.
56
57 v6.7.0
58 ======
59
60 Minor Changes
61 -------------
62
63 - floating_ip - Unassign Floating IP before deleting it.
64 - primary_ip - Unassign Primary IP before deleting it.
65
66 v6.6.0
67 ======
68
69 Release Summary
70 ---------------
71
72 The experimental phase for Storage Boxes is over, and Storage Boxes support is now generally available.
73
74 Minor Changes
75 -------------
76
77 - server - Rebuilding a Server now supports the ``user_data`` argument.
78 - storage_box - The module is no longer marked as experimental.
79 - storage_box_info - The module is no longer marked as experimental.
80 - storage_box_snapshot - The module is no longer marked as experimental.
81 - storage_box_snapshot_info - The module is no longer marked as experimental.
82 - storage_box_subaccount - The module is no longer marked as experimental.
83 - storage_box_subaccount_info - The module is no longer marked as experimental.
84 - storage_box_type_info - The module is no longer marked as experimental.
85
86 v6.5.0
87 ======
88
89 Minor Changes
90 -------------
91
92 - All ``module_utils`` are now marked as **private**. None of the modules were intended for public use.
93 - storage_box_subaccount - Replace the label based name workaround, with the new Storage Box Subaccount name property in the API.
94 - storage_box_subaccount_info - Replace the label based name workaround, with the new Storage Box Subaccount name property in the API.
95
96 v6.4.0
97 ======
98
99 Release Summary
100 ---------------
101
102 This release is phasing out datacenters in ``Primary IPs`` and ``Servers``.
103
104 We added a new ``location`` property to the request body and response of ``Servers`` and ``Primary IPs``.
105 The same data was previously present under ``datacenter.location``.
106
107 We deprecated the ``datacenter`` property in the request body and response of ``Servers`` and ``Primary IPs``.
108 The removal will happen after 1 July 2026.
109
110 See our `changelog`_ for more details.
111
112 .. _changelog: https://docs.hetzner.cloud/changelog#2025-12-16-phasing-out-datacenters
113
114 Minor Changes
115 -------------
116
117 - primary_ip - Added the Primary IP ``location`` name to the return values (``hcloud_primary_ip.location``).
118 - primary_ip - Added the ``location`` argument to create a Primary IP in a specific location.
119 - primary_ip_info - Added the Primary IPs ``location`` name to the return values (``hcloud_primary_ip_info[].location``).
120
121 Deprecated Features
122 -------------------
123
124 - hcloud inventory - The ``hcloud_datacenter`` host variable is deprecated and will be removed after 1 July 2026. Please use the ``hcloud_location`` host variable instead.
125 - network_info - The ``hcloud_network_info[].servers[].datacenter`` return value is deprecated and will be removed after 1 July 2026. Please use the ``hcloud_network_info[].servers[].location`` return value instead.
126 - primary_ip - The ``datacenter`` argument is deprecated and will be removed after 1 July 2026. Please use the ``location`` argument instead.
127 - primary_ip - The ``hcloud_primary_ip.datacenter`` return value is deprecated and will be removed after 1 July 2026. Please use the ``hcloud_primary_ip.location`` return value instead.
128 - primary_ip_info - The ``hcloud_primary_ip_info[].datacenter`` return value is deprecated and will be removed after 1 July 2026. Please use the ``hcloud_primary_ip_info[].location`` return value instead.
129 - server - The ``datacenter`` argument is deprecated and will be removed after 1 July 2026. Please use the ``location`` argument instead.
130 - server - The ``hcloud_server.datacenter`` return value is deprecated and will be removed after 1 July 2026. Please use the ``hcloud_server.location`` return value instead.
131 - server_info - The ``hcloud_server_info[].datacenter`` return value is deprecated and will be removed after 1 July 2026. Please use the ``hcloud_server_info[].location`` return value instead.
132
133 Bugfixes
134 --------
135
136 - Invalid redirects for Storage Box modules are now fixed by using fully qualified module names.
137
138 v6.3.0
139 ======
140
141 Release Summary
142 ---------------
143
144 This release adds support for the new `Storage Box API`_.
145
146 Storage Box support is **experimental**, breaking changes may occur within minor releases.
147
148 See the `experimental tracking issue`_ for more details.
149
150 **Examples**
151
152 .. code:: yaml
153
154 - name: Create a Storage Box
155 hetzner.hcloud.storage_box:
156 name: backups
157 storage_box_type: bx11
158 location: fsn1
159 password: my-secret
160 access_settings:
161 reachable_externally: true
162 ssh_enabled: true
163 state: present
164
165 - name: Create a Storage Box Subaccount
166 hetzner.hcloud.storage_box_subaccount:
167 storage_box: backups
168 name: subaccount1
169 home_directory: backups/subaccount1
170 password: secret
171 access_settings:
172 readonly: true
173 labels:
174 env: prod
175 state: present
176
177 - name: Take a Storage Box Snapshot
178 hetzner.hcloud.storage_box_snapshot:
179 storage_box: backups
180 description: before app migration
181 labels:
182 env: prod
183 state: present
184
185 .. _Storage Box API: https://docs.hetzner.cloud/reference/hetzner#storage-boxes
186 .. _experimental tracking issue: https://github.com/ansible-collections/hetzner.hcloud/issues/756
187
188 Minor Changes
189 -------------
190
191 - storage_box - New module to create and manage Storage Boxes in Hetzner.
192 - storage_box_info - New module to gather infos about Hetzner Storage Boxes.
193 - storage_box_snapshot - New module to create and manage Storage Box Snapshots in Hetzner.
194 - storage_box_snapshot_info - New module to gather infos about Hetzner Storage Box Snapshots.
195 - storage_box_subaccount - New module to create and manage Storage Box Subaccounts in Hetzner.
196 - storage_box_subaccount_info - New module to gather infos about Hetzner Storage Box Subaccounts.
197 - storage_box_type_info - New module to gather infos about Hetzner Storage Box Types.
198
199 v6.2.1
200 ======
201
202 Bugfixes
203 --------
204
205 - zone_rrset - Records order is not guaranteed, the module will not generate a diff if the order of records changes.
206 - zone_rrset - Records without comments will not generate a diff anymore.
207
208 v6.2.0
209 ======
210
211 Release Summary
212 ---------------
213
214 **DNS API is now generally available**
215
216 The DNS API is now generally available, as well as support for features
217 in this project that are related to the DNS API.
218
219 To migrate existing zones to the new DNS API, see the `DNS migration
220 guide <https://docs.hetzner.com/networking/dns/migration-to-hetzner-console/process/>`__.
221
222 See the
223 `changelog <https://docs.hetzner.cloud/changelog#2025-11-10-dns-ga>`__
224 for more details.
225
226 Minor Changes
227 -------------
228
229 - DNS support is now generally available.
230
231 v6.1.0
232 ======
233
234 Minor Changes
235 -------------
236
237 - load_balancer_network - Add ``ip_range`` argument to attach a load balancer to a specific subnet.
238 - server_network - Add ``ip_range`` argument to attach a load balancer to a specific subnet.
239 - txt_record - Add new txt_record filter to help format TXT , e.g. ``"{{ 'v=spf1 include:_spf.example.net ~all' | hetzner.hcloud.txt_record }}"``.
240
241 Bugfixes
242 --------
243
244 - firewall - Ensure idempotency when using non canonical ipv6 representation in Firewall rules.
245
246 v6.0.0
247 ======
248
249 Breaking Changes / Porting Guide
250 --------------------------------
251
252 - Drop support for Python 3.9
253 - Drop support for ansible-core 2.17
254
255 v5.4.0
256 ======
257
258 Release Summary
259 ---------------
260
261 This release adds support for the new `DNS API`_.
262
263 The DNS API is currently in **beta**, which will likely end on 10
264 November 2025. After the beta ended, it will no longer be possible to
265 create new zones in the old DNS system. See the `DNS Beta FAQ`_ for more
266 details.
267
268 Future minor releases of this project may include breaking changes for
269 features that are related to the DNS API.
270
271 See the `DNS API Beta changelog`_ for more details.
272
273 **Examples**
274
275 .. code:: yaml
276
277 - name: Create a primary Zone
278 hetzner.hcloud.zone:
279 name: example.com
280 mode: primary
281 labels:
282 key: value
283 state: present
284
285 - name: Create a Zone RRSet
286 hetzner.hcloud.zone_rrset:
287 zone: example.com
288 name: "@"
289 type: A
290 records:
291 - comment: server1
292 value: 201.118.10.2
293 state: present
294
295 .. _DNS Beta FAQ: https://docs.hetzner.com/networking/dns/faq/beta
296 .. _DNS API: https://docs.hetzner.cloud/reference/cloud#dns
297 .. _DNS API Beta changelog: https://docs.hetzner.cloud/changelog#2025-10-07-dns-beta
298
299 Minor Changes
300 -------------
301
302 - zone - New module to manage DNS Zones in Hetzner Cloud.
303 - zone_info - New module to fetch DNS Zones details.
304 - zone_rrset - New module to manage DNS Zone RRSets in the Hetzner Cloud.
305 - zone_rrset_info - New module to fetch DNS RRSets details.
306
307 v5.3.1
308 ======
309
310 Bugfixes
311 --------
312
313 - server - Also check server type deprecation after server creation.
314
315 v5.3.0
316 ======
317
318 Release Summary
319 ---------------
320
321 `Server Types`_ now depend on `Locations`_.
322
323 - We added a new ``locations`` property to the `Server Types`_ resource. The new
324 property defines a list of supported `Locations`_ and additional per `Locations`_
325 details such as deprecations information.
326
327 - We deprecated the ``deprecation`` property from the `Server Types`_ resource. The
328 property will gradually be phased out as per `Locations`_ deprecations are being
329 announced. Please use the new per `Locations`_ deprecation information instead.
330
331 See our `changelog`_ for more details.
332
333 **Upgrading**
334
335 .. code:: yaml
336
337 # Before
338 ---
339 - name: Validate server type
340 hosts: localhost
341 connection: local
342 tasks:
343 - name: Fetch server type info
344 hetzner.hcloud.server_type_info:
345 name: cx22
346 register: server_type
347
348 - name: Ensure server type exists
349 ansible.builtin.assert:
350 fail_msg: server type does not exists
351 that:
352 - server_type.hcloud_server_type_info | count == 1
353
354 - name: Ensure server type is not deprecated
355 ansible.builtin.assert:
356 fail_msg: server type is deprecated
357 that:
358 - server_type.hcloud_server_type_info[0].deprecation is none
359
360 .. code:: yaml
361
362 # After
363 ---
364 - name: Validate server type
365 hosts: localhost
366 connection: local
367 tasks:
368 - name: Fetch location info
369 hetzner.hcloud.location_info:
370 name: fsn1
371 register: location
372
373 - name: Fetch server type info
374 hetzner.hcloud.server_type_info:
375 name: cx22
376 register: server_type
377
378 - name: Ensure server type exists
379 ansible.builtin.assert:
380 fail_msg: server type does not exists
381 that:
382 - server_type.hcloud_server_type_info | count == 1
383
384 - name: Extract server type location info
385 ansible.builtin.set_fact:
386 server_type_location: >
387 {{
388 server_type.hcloud_server_type_info[0].locations
389 | selectattr("name", "eq", location.hcloud_location_info[0].name)
390 | first
391 }}
392
393 - name: Ensure server type is not deprecated
394 ansible.builtin.assert:
395 fail_msg: server type is deprecated in location
396 that:
397 - server_type_location.deprecation is none
398
399 .. _Server Types: https://docs.hetzner.cloud/reference/cloud#server-types
400 .. _Locations: https://docs.hetzner.cloud/reference/cloud#locations
401 .. _changelog: https://docs.hetzner.cloud/changelog#2025-09-24-per-location-server-types
402
403 Minor Changes
404 -------------
405
406 - server_type_info - Return new Server Type ``category`` property.
407 - server_type_info - Return new Server Type ``locations`` property.
408
409 Deprecated Features
410 -------------------
411
412 - server_type_info - Deprecate Server Type ``deprecation`` property.
413
414 Bugfixes
415 --------
416
417 - floating_ip - Wait for the Floating IP assign action to complete to reduce chances of running into ``locked`` errors.
418
419 v5.2.0
420 ======
421
422 Minor Changes
423 -------------
424
425 - volume - Allow renaming a volume.
426
427 Bugfixes
428 --------
429
430 - volume_attachment - Add ``hcloud_volume_attachment`` alias to ``volume_attachment`` module.
431 - volume_attachment - Add ``volume_attachment`` module to action group ``all``.
432
433 v5.1.0
434 ======
435
436 Minor Changes
437 -------------
438
439 - ssh_key - Log a warning when the provided public key does not match one in the API.
440 - ssh_key - When the public key does not match the one in the API, allow recreating the SSH Key in the API using the ``force=true`` argument.
441
442 Bugfixes
443 --------
444
445 - All returned resource IDs are now integers instead of strings.
446 - server - The ``placement_group`` argument now correctly handles placement group IDs during updates.
447
448 v5.0.1
449 ======
450
451 Breaking Changes / Porting Guide
452 --------------------------------
453
454 - server - The deprecated ``force_upgrade`` argument is removed from the server module. Please use the ``force`` argument instead.
455
456 v5.0.0
457 ======
458
459 Minor Changes
460 -------------
461
462 - server - Allow renaming a server.
463 - volume_attachment - Add new `volume_attachment` module to manage Volumes attachment.
464
465 Breaking Changes / Porting Guide
466 --------------------------------
467
468 - Drop support for ansible-core 2.15.
469 - Drop support for ansible-core 2.16.
470 - Drop support for python 3.8.
471 - inventory - The default value for the `hostvars_prefix` option is now set to `hcloud_`. Make sure to update all references to host variables provided by the inventory. You may revert this change by setting the `hostvars_prefix` option to `""`.
472 - volume - Volumes are no longer detached when the server argument is not provided. Please use the ``volume_attachment`` module to manage volume attachments.
473
474 v4.3.0
475 ======
476
477 Minor Changes
478 -------------
479
480 - server - Add `created` state that creates a server but do not start it.
481
482 v4.2.2
483 ======
484
485 Bugfixes
486 --------
487
488 - hcloud_load_balancer_service - Improve unknown certificate id or name error.
489 - hcloud_server - Only rebuild existing servers, skip rebuild if the server was just created.
490
491 v4.2.1
492 ======
493
494 Bugfixes
495 --------
496
497 - server - Wait up to 30 minutes for every action returned from server create
498
499 v4.2.0
500 ======
501
502 Minor Changes
503 -------------
504
505 - load_balancer_status - Add new filter to compute the status of a Load Balancer based on its targets.
506
507 v4.1.0
508 ======
509
510 Release Summary
511 ---------------
512
513 **API Changes for Traffic Prices and Server Type Included Traffic**
514
515 There will be a breaking change in the API regarding Traffic Prices and Server Type
516 Included Traffic on 2024-08-05. This release marks the affected fields as
517 `Deprecated`. Please check if this affects any of your code.
518
519 You can learn more about this change in `our changelog <https://docs.hetzner.cloud/changelog#2024-07-25-cloud-api-returns-traffic-information-in-different-format>`_.
520
521 Minor Changes
522 -------------
523
524 - Use a truncated exponential backoff algorithm when polling actions from the API.
525 - server_type_info - The 'included_traffic' return value is deprecated and will be set to 'None' on 5 August 2024. See https://docs.hetzner.cloud/changelog#2024-07-25-cloud-api-returns-traffic-information-in-different-format.
526
527 v4.0.1
528 ======
529
530 Bugfixes
531 --------
532
533 - server - Keep `force_upgrade` deprecated alias for another major version.
534
535 v4.0.0
536 ======
537
538 Breaking Changes / Porting Guide
539 --------------------------------
540
541 - Drop support for ansible-core 2.14.
542
543 v3.1.1
544 ======
545
546 Bugfixes
547 --------
548
549 - inventory - Ensure inventory host variables are serializable and can be cached.
550
551 v3.1.0
552 ======
553
554 Minor Changes
555 -------------
556
557 - primary_ip - Use the `server` option to assign a Primary IP being created to a server.
558 - server - Allow passing Datacenter name or ID to the `datacenter` argument.
559 - server - Allow passing Image name or ID to the `image` argument.
560 - server - Allow passing Location name or ID to the `location` argument.
561 - server - Allow passing SSH Keys names or IDs to the `ssh_keys` argument.
562 - server - Allow passing Volume names or IDs to the `volumes` argument.
563 - server - Renamed the `allow_deprecated_image` option to `image_allow_deprecated`.
564
565 Bugfixes
566 --------
567
568 - primary_ip - Added the missing `auto_delete` field to the return values.
569 - primary_ip - The `auto_delete` option is now used when creating or updating a Primary IP.
570 - primary_ip_info - Added the missing `auto_delete` field to the return values.
571 - server - Do not remove the server from its placement group when the `placement_group` argument is not specified.
572 - server - Pass an empty string to the `placement_group` argument to remove a server from its placement group.
573 - server_network - The returned `alias_ips` list is now sorted.
574
575 v3.0.0
576 ======
577
578 Minor Changes
579 -------------
580
581 - inventory - Add `hostname` option used to template the hostname of the instances.
582 - network - Allow renaming networks.
583
584 Breaking Changes / Porting Guide
585 --------------------------------
586
587 - Drop support for ansible-core 2.13.
588 - certificate - The `not_valid_before` and `not_valid_after` values are now returned as ISO-8601 formatted strings.
589 - certificate_info - The `not_valid_before` and `not_valid_after` values are now returned as ISO-8601 formatted strings.
590 - inventory - Remove the deprecated `api_token_env` option, you may use the `ansible.builtin.env` lookup as alternative.
591 - iso_info - The `deprecated` value is now returned as ISO-8601 formatted strings.
592
593 Bugfixes
594 --------
595
596 - load_balancer_info - Correctly return the `cookie_lifetime` value.
597 - load_balancer_service - Correctly return the `cookie_lifetime` value.
598
599 v2.5.0
600 ======
601
602 Minor Changes
603 -------------
604
605 - Replace deprecated `ansible.netcommon` ip utils with python `ipaddress` module. The `ansible.netcommon` collection is no longer required by the collections.
606 - firewall - Allow forcing the deletion of firewalls that are still in use.
607 - firewall - Do not silence 'firewall still in use' delete failures.
608 - firewall - Return resources the firewall is `applied_to`.
609 - firewall_info - Add new `firewall_info` module to gather firewalls info.
610 - firewall_resource - Add new `firewall_resource` module to manage firewalls resources.
611 - inventory - Add `hostvars_prefix` and hostvars_suffix` options to customize the inventory host variables keys.
612
613 New Modules
614 -----------
615
616 - firewall_resource - Manage Resources a Hetzner Cloud Firewall is applied to.
617
618 v2.4.1
619 ======
620
621 Bugfixes
622 --------
623
624 - hcloud inventory - Ensure the API client use a new cache for every *cached session*.
625
626 v2.4.0
627 ======
628
629 Minor Changes
630 -------------
631
632 - Add the `hetzner.hcloud.all` group to configure all the modules using `module_defaults`.
633 - Allow to set the `api_endpoint` module argument using the `HCLOUD_ENDPOINT` environment variable.
634 - Removed the `hcloud_` prefix from all modules names, e.g. `hetzner.hcloud.hcloud_firewall` was renamed to `hetzner.hcloud.firewall`. Old module names will continue working.
635 - Renamed the `endpoint` module argument to `api_endpoint`, backward compatibility is maintained using an alias.
636 - hcloud inventory - Add the `api_endpoint` option.
637 - hcloud inventory - Deprecate the `api_token_env` option, suggest using a lookup plugin (`{{ lookup('ansible.builtin.env', 'YOUR_ENV_VAR') }}`) or use the well-known `HCLOUD_TOKEN` environment variable name.
638 - hcloud inventory - Rename the `token_env` option to `api_token_env`, use aliases for backward compatibility.
639 - hcloud inventory - Rename the `token` option to `api_token`, use aliases for backward compatibility.
640
641 v2.3.0
642 ======
643
644 Minor Changes
645 -------------
646
647 - hcloud_datacenter_info - Add `server_types` field
648 - hcloud_server - Add `created` field
649 - hcloud_server_info - Add `created` field
650
651 v2.2.0
652 ======
653
654 Minor Changes
655 -------------
656
657 - hcloud_iso_info - Add deprecation field
658 - hcloud_load_balancer_network - Allow selecting a `load_balancer` or `network` using its ID.
659 - hcloud_load_balancer_service - Allow selecting a `load_balancer` using its ID.
660 - hcloud_load_balancer_target - Allow selecting a `load_balancer` or `server` using its ID.
661 - hcloud_rdns - Allow selecting a `server`, `floating_ip`, `primary_ip` or `load_balancer` using its ID.
662 - hcloud_route - Allow selecting a `network` using its ID.
663 - hcloud_server_network - Allow selecting a `network` or `server` using its ID.
664 - hcloud_subnetwork - Allow selecting to a `network` using its ID.
665
666 v2.1.2
667 ======
668
669 Bugfixes
670 --------
671
672 - hcloud_firewall - The port argument is required when the firewall rule protocol is `udp` or `tcp`.
673 - hcloud_load_balancer_service - In the returned data, the invalid `health_check.http.certificates` field was renamed to `health_check.http.status_codes`.
674
675 v2.1.1
676 ======
677
678 Bugfixes
679 --------
680
681 - hcloud_server - Fix string formatting error on deprecated server type warning
682
683 v2.1.0
684 ======
685
686 Minor Changes
687 -------------
688
689 - Use the collection version in the hcloud user-agent instead of the ansible-core version.
690 - hcloud_floating_ip_info - Allow querying floating ip by name.
691 - hcloud_load_balancer_info - Add targets health status field.
692 - inventory - Allow caching the hcloud inventory.
693
694 Bugfixes
695 --------
696
697 - `*_info` - Consistently fail on invalid ID in `*_info` modules.
698
699 v2.0.0
700 ======
701
702 Release Summary
703 ---------------
704
705 This release bundles the hcloud dependency in the collection, this allows us to ship new features or bug fixes without having to release new major versions and require the users to upgrade their version of the hcloud dependency.
706
707 Minor Changes
708 -------------
709
710 - Bundle hcloud python dependency inside the collection.
711 - python-dateutil >= 2.7.5 is now required by the collection. If you already have the hcloud package installed, this dependency should also be installed.
712 - requests >= 2.20 is now required by the collection. If you already have the hcloud package installed, this dependency should also be installed.
713
714 Breaking Changes / Porting Guide
715 --------------------------------
716
717 - Drop support for ansible-core 2.12
718 - Drop support for python 3.7
719 - inventory plugin - Don't set the server image variables (`image_id`, `image_os_flavor` and `image_name`) when the server image is not defined.
720
721 Removed Features (previously deprecated)
722 ----------------------------------------
723
724 - hcloud_datacenter_facts Removed deprecated facts module
725 - hcloud_floating_ip_facts Removed deprecated facts module
726 - hcloud_image_facts Removed deprecated facts module
727 - hcloud_location_facts Removed deprecated facts module
728 - hcloud_server_facts Removed deprecated facts module
729 - hcloud_server_type_facts Removed deprecated facts module
730 - hcloud_ssh_key_facts Removed deprecated facts module
731 - hcloud_volume_facts Removed deprecated facts module
732
733 v1.16.0
734 =======
735
736 Release Summary
737 ---------------
738
739 This release bundles the hcloud dependency in the collection, this allows us to ship new features or bug fixes without having to release new major versions and require the users to upgrade their version of the hcloud dependency.
740
741 Minor Changes
742 -------------
743
744 - Bundle hcloud python dependency inside the collection.
745 - python-dateutil >= 2.7.5 is now required by the collection. If you already have the hcloud package installed, this dependency should also be installed.
746 - requests >= 2.20 is now required by the collection. If you already have the hcloud package installed, this dependency should also be installed.
747
748 v1.15.0
749 =======
750
751 Minor Changes
752 -------------
753
754 - hcloud_iso_info Create hcloud_iso_info module
755
756 Bugfixes
757 --------
758
759 - hcloud_image_info Fix facts modules deprecated result key
760 - hcloud_location_info Fix facts modules deprecation warnings
761 - hcloud_server_type_info Fix facts modules deprecated result dict
762 - hcloud_server_type_info Fix facts modules deprecation warnings
763
764 v1.14.0
765 =======
766
767 Minor Changes
768 -------------
769
770 - hcloud_network Add expose_routes_to_vswitch field.
771 - hcloud_network_info Return expose_routes_to_vswitch for network.
772
773 v1.13.0
774 =======
775
776 Minor Changes
777 -------------
778
779 - hcloud_primary_ip_info Create hcloud_primary_ip_info module
780 - hcloud_server Show warning if used server_type is deprecated.
781 - hcloud_server_type_info Return deprecation info for server types.
782
783 Bugfixes
784 --------
785
786 - hcloud_server - TypeError when trying to use deprecated image with allow_deprecated_image
787
788 v1.12.0
789 =======
790
791 Minor Changes
792 -------------
793
794 - hcloud_server_type_info - Add field included_traffic to returned server types
795
796 Breaking Changes / Porting Guide
797 --------------------------------
798
799 - hcloud-python 1.20.0 is now required for full compatibility
800
801 v1.11.0
802 =======
803
804 Minor Changes
805 -------------
806
807 - hcloud_image_info - Add cpu architecture field to return value.
808 - hcloud_image_info - Allow filtering images by cpu architecture.
809 - hcloud_server - Select matching image for the cpu architecture of the server type on create & rebuild.
810 - hcloud_server_type_info - Add cpu architecture field to return value.
811 - inventory plugin - Add cpu architecture to server variables.
812
813 v1.10.1
814 =======
815
816 Bugfixes
817 --------
818
819 - hcloud_server - Prevent backups from being disabled when undefined
820 - hcloud_server - Server locked after attaching to placement group
821
822 v1.10.0
823 =======
824
825 Minor Changes
826 -------------
827
828 - hcloud_server - add private_networks_info containing name and private ip in responses
829 - hcloud_server_info - add private_networks_info containing name and private ip in responses
830 - inventory plugin - Add list of all private networks to server variables.
831 - inventory plugin - Add new connect_with setting public_ipv6 to connect to discovered servers via public IPv6 address.
832 - inventory plugin - Add public IPv6 address to server variables.
833 - inventory plugin - Log warning instead of crashing when some servers do not work with global connect_with setting.
834
835 Breaking Changes / Porting Guide
836 --------------------------------
837
838 - inventory plugin - Python v3.5+ is now required.
839
840 v1.9.1
841 ======
842
843 Bugfixes
844 --------
845
846 - hcloud_server - externally attached networks (using hcloud_server_network) were removed when not specified in the hcloud_server resource
847
848 v1.9.0
849 ======
850
851 Minor Changes
852 -------------
853
854 - dynamic inventory - add support changing the name of the top level group all servers are added to
855 - hcloud_firewall - add support for esp and gre protocols
856
857 Bugfixes
858 --------
859
860 - hcloud_firewall - the deletion could fail if the firewall was referenced right before
861 - hcloud_server - fix backup window was given out as "None" instead of null
862 - hcloud_server_info - fix backup window was given out as "None" instead of null
863 - hcloud_volume - fix server name was given out as "None" instead of null if no server was attached
864 - hcloud_volume_info - fix server name was given out as "None" instead of null if no server was attached
865
866 v1.8.2
867 ======
868
869 Bugfixes
870 --------
871
872 - dynamic inventory - fix crash when having servers without IPs (flexible networks)
873 - hcloud_server - When state stopped and server is created, do not start the server
874 - hcloud_server_info - fix crash when having servers without IPs (flexible networks)
875
876 v1.8.1
877 ======
878
879 v1.8.0
880 ======
881
882 New Modules
883 -----------
884
885 Hetzner
886 ~~~~~~~
887
888 hcloud
889 ^^^^^^
890
891 - hetzner.hcloud.hcloud_primary_ip - Create and manage cloud Primary IPs on the Hetzner Cloud.
892
893 v1.7.1
894 ======
895
896 Minor Changes
897 -------------
898
899 - inventory - allow filtering by server status
900
901 Bugfixes
902 --------
903
904 - hcloud_server_network - fixes changed alias_ips by using sorted
905
906 v1.7.0
907 ======
908
909 Minor Changes
910 -------------
911
912 - inventory - support jinjia templating within `network`
913
914 v1.6.0
915 ======
916
917 Minor Changes
918 -------------
919
920 - hcloud_rdns Add support for load balancer
921
922 v1.5.0
923 ======
924
925 Major Changes
926 -------------
927
928 - Introduction of placement groups
929
930 Minor Changes
931 -------------
932
933 - hcloud_firewall Add description field to firewall rules
934
935 Bugfixes
936 --------
937
938 - hcloud_rdns improve error message on not existing server/Floating IP
939 - hcloud_server backups property defaults to None now instead of False
940
941 v1.4.4
942 ======
943
944 Bugfixes
945 --------
946
947 - hcloud_server Improve Error Message when attaching a not existing firewall to a server
948 - hcloud_volume Force detaching of volumes on servers before deletion
949
950 v1.4.3
951 ======
952
953 Bugfixes
954 --------
955
956 - hcloud_server Fix incompatbility with python < 3.6
957 - hcloud_server Improve error handling when using not existing server types
958
959 v1.4.2
960 ======
961
962 Bugfixes
963 --------
964
965 - inventory fix image name was set as server type instead of the correct server type
966
967 v1.4.1
968 ======
969
970 Minor Changes
971 -------------
972
973 - hcloud_server - improve the handling of deprecated images
974 - hcloud_server - improve the validation and error response for not existing images
975 - inventory - support jinjia templating within `token`
976
977 v1.4.0
978 ======
979
980 Security Fixes
981 --------------
982
983 - hcloud_certificate - mark the ``private_key`` parameter as ``no_log`` to prevent potential leaking of secret values (https://github.com/ansible-collections/hetzner.hcloud/pull/70).
984
985 Bugfixes
986 --------
987
988 - hcloud_firewall - fix idempotence related to rules comparison (https://github.com/ansible-collections/hetzner.hcloud/pull/71).
989 - hcloud_load_balancer_service - fix imported wrong HealthCheck from hcloud-python (https://github.com/ansible-collections/hetzner.hcloud/pull/73).
990 - hcloud_server - fix idempotence related to firewall handling (https://github.com/ansible-collections/hetzner.hcloud/pull/71).
991
992 v1.3.1
993 ======
994
995 Bugfixes
996 --------
997
998 - hcloud_server - fix a crash related to check mode if ``state=started`` or ``state=stopped`` (https://github.com/ansible-collections/hetzner.hcloud/issues/54).
999
1000 v1.3.0
1001 ======
1002
1003 Minor Changes
1004 -------------
1005
1006 - Add firewalls to hcloud_server module
1007
1008 New Modules
1009 -----------
1010
1011 - hcloud_firewall - Manage Hetzner Cloud Firewalls
1012
1013 v1.2.1
1014 ======
1015
1016 Bugfixes
1017 --------
1018
1019 - Inventory Restore Python 2.7 compatibility
1020
1021 v1.2.0
1022 ======
1023
1024 Minor Changes
1025 -------------
1026
1027 - Dynamic Inventory Add option to specifiy the token_env variable which is used for identification if now token is set
1028 - Improve imports of API Exception
1029 - hcloud_server_network Allow updating alias ips
1030 - hcloud_subnetwork Allow creating vswitch subnetworks
1031
1032 New Modules
1033 -----------
1034
1035 - hcloud_load_balancer_info - Gather infos about your Hetzner Cloud load_balancers.
1036
1037 v1.1.0
1038 ======
1039
1040 Minor Changes
1041 -------------
1042
1043 - hcloud_floating_ip Allow creating Floating IP with protection
1044 - hcloud_load_balancer Allow creating Load Balancer with protection
1045 - hcloud_network Allow creating Network with protection
1046 - hcloud_server Allow creating server with protection
1047 - hcloud_volume Allow creating Volumes with protection
1048
1049 Bugfixes
1050 --------
1051
1052 - hcloud_floating_ip Fix idempotency when floating ip is assigned to server
1053
1054 v1.0.0
1055 ======
1056
1057 Minor Changes
1058 -------------
1059
1060 - hcloud_load_balancer Allow changing the type of a Load Balancer
1061 - hcloud_server Allow the creation of servers with enabled backups
1062
1063 v0.2.0
1064 ======
1065
1066 Bugfixes
1067 --------
1068
1069 - hcloud inventory plugin - Allow usage of hcloud.yml and hcloud.yaml - this was removed by error within the migration from build-in ansible to our collection
1070
1071 v0.1.0
1072 ======
1073
1074 New Modules
1075 -----------
1076
1077 - hcloud_floating_ip - Create and manage cloud Floating IPs on the Hetzner Cloud.
1078 - hcloud_load_balancer - Create and manage cloud Load Balancers on the Hetzner Cloud.
1079 - hcloud_load_balancer_network - Manage the relationship between Hetzner Cloud Networks and Load Balancers
1080 - hcloud_load_balancer_service - Create and manage the services of cloud Load Balancers on the Hetzner Cloud.
1081 - hcloud_load_balancer_target - Manage Hetzner Cloud Load Balancer targets
1082 - hcloud_load_balancer_type_info - Gather infos about the Hetzner Cloud Load Balancer types.