Debian Codegraph @

ansible_collections/community/hrobot/CHANGELOG.rst

raw
1 ================================================
2 Community Hetzner Robot Collection Release Notes
3 ================================================
4
5 .. contents:: Topics
6
7 v2.7.2
8 ======
9
10 Release Summary
11 ---------------
12
13 Maintenance release.
14
15 Bugfixes
16 --------
17
18 - storagebox* modules - improve error reporting to ensure that method and URL of the failed request are always mentioned (https://github.com/ansible-collections/community.hrobot/pull/190).
19
20 v2.7.1
21 ======
22
23 Release Summary
24 ---------------
25
26 Maintenance release.
27
28 Bugfixes
29 --------
30
31 - Remove unnecessary Python 2 compatibilty code (https://github.com/ansible-collections/community.hrobot/pull/187).
32
33 v2.7.0
34 ======
35
36 Release Summary
37 ---------------
38
39 Feature release.
40
41 Minor Changes
42 -------------
43
44 - storagebox_subaccount - filter by username when looking for existing accounts by username (https://github.com/ansible-collections/community.hrobot/pull/182).
45 - storagebox_subaccount - use the new ``change_home_directory`` action to update a subaccount's home directory, instead of using the now deprecated way using the ``update_access_settings`` action (https://github.com/ansible-collections/community.hrobot/pull/181).
46
47 Deprecated Features
48 -------------------
49
50 - storagebox_subaccount - ``password_mode=set-to-random`` is deprecated and will be removed from community.hrobot 3.0.0. Hetzner's new API does not support this anyway, it can only be used with the legacy API (https://github.com/ansible-collections/community.hrobot/pull/183).
51
52 v2.6.1
53 ======
54
55 Release Summary
56 ---------------
57
58 Maintenance release.
59
60 Bugfixes
61 --------
62
63 - Avoid using ``ansible.module_utils.six`` in more places to avoid deprecation warnings with ansible-core 2.20 (https://github.com/ansible-collections/community.hrobot/pull/179).
64
65 v2.6.0
66 ======
67
68 Release Summary
69 ---------------
70
71 Maintenance release deprecating support the old storage box API.
72
73 Deprecated Features
74 -------------------
75
76 - storagebox\* modules - membership in the ``community.hrobot.robot`` action group (module defaults group) is deprecated; the modules will be removed from the group in community.hrobot 3.0.0. Use ``community.hrobot.api`` instead (https://github.com/ansible-collections/community.hrobot/pull/178).
77 - storagebox\* modules - the ``hetzner_token`` option for these modules will be required from community.hrobot 3.0.0 on (https://github.com/ansible-collections/community.hrobot/pull/178).
78 - storagebox\* modules - the ``hetzner_user`` and ``hetzner_pass`` options for these modules are deprecated; support will be removed in community.hrobot 3.0.0. Use ``hetzner_token`` instead (https://github.com/ansible-collections/community.hrobot/pull/178).
79 - storagebox_info - the ``storageboxes[].login``, ``storageboxes[].disk_quota``, ``storageboxes[].disk_usage``, ``storageboxes[].disk_usage_data``, ``storageboxes[].disk_usage_snapshot``, ``storageboxes[].webdav``, ``storageboxes[].samba``, ``storageboxes[].ssh``, ``storageboxes[].external_reachability``, and ``storageboxes[].zfs`` return values are deprecated and will be removed from community.routeros. Check out the documentation to find out their new names according to the new API (https://github.com/ansible-collections/community.hrobot/pull/178).
80 - storagebox_snapshot_info - the ``snapshots[].timestamp``, ``snapshots[].size``, ``snapshots[].filesystem_size``, ``snapshots[].automatic``, and ``snapshots[].comment`` return values are deprecated and will be removed from community.routeros. Check out the documentation to find out their new names according to the new API (https://github.com/ansible-collections/community.hrobot/pull/178).
81 - storagebox_snapshot_plan - the ``plans[].month`` return value is deprecated, since it only returns ``null`` with the new API and cannot be set to any other value (https://github.com/ansible-collections/community.hrobot/pull/178).
82 - storagebox_snapshot_plan_info - the ``plans[].month`` return value is deprecated, since it only returns ``null`` with the new API and cannot be set to any other value (https://github.com/ansible-collections/community.hrobot/pull/178).
83 - storagebox_subaccount - the ``subaccount.homedirectory``, ``subaccount.samba``, ``subaccount.ssh``, ``subaccount.external_reachability``, ``subaccount.webdav``, ``subaccount.readonly``, ``subaccount.createtime``, and ``subaccount.comment`` return values are deprecated and will be removed from community.routeros. Check out the documentation to find out their new names according to the new API (https://github.com/ansible-collections/community.hrobot/pull/178).
84 - storagebox_subaccount_info - the ``subaccounts[].accountid``, ``subaccounts[].homedirectory``, ``subaccounts[].samba``, ``subaccounts[].ssh``, ``subaccounts[].external_reachability``, ``subaccounts[].webdav``, ``subaccounts[].readonly``, ``subaccounts[].createtime``, and ``subaccounts[].comment`` return values are deprecated and will be removed from community.routeros. Check out the documentation to find out their new names according to the new API (https://github.com/ansible-collections/community.hrobot/pull/178).
85
86 v2.5.2
87 ======
88
89 Release Summary
90 ---------------
91
92 Maintenance release.
93
94 Bugfixes
95 --------
96
97 - Avoid using ``ansible.module_utils.six`` to avoid deprecation warnings with ansible-core 2.20 (https://github.com/ansible-collections/community.hrobot/pull/177).
98
99 v2.5.1
100 ======
101
102 Release Summary
103 ---------------
104
105 Maintenance release.
106
107 Bugfixes
108 --------
109
110 - Avoid deprecated functionality in ansible-core 2.20 (https://github.com/ansible-collections/community.hrobot/pull/174).
111
112 v2.5.0
113 ======
114
115 Release Summary
116 ---------------
117
118 Feature and bugfix release.
119
120 This release adds support for the `new Hetzner API for the storage box modules
121 <https://docs.hetzner.cloud/changelog#2025-06-25-new-api-for-storage-boxes>`__.
122 You need to use ``hetzner_token`` instead of ``hetzner_user``/``hetzner_password``
123 to use the new API. Please note that the old API will be sunset on July 30th, 2025;
124 the modules will then stop working if you do not provide ``hetzner_token`` and stop
125 providing ``hetzner_user``/``hetzner_password``.
126
127 Minor Changes
128 -------------
129
130 - Introduced a new action group (module defaults group) ``community.hrobot.api`` that includes all modules that support the new Hetzner API. This is currently limited to a subset of the storage box modules; these currently support both the ``community.hrobot.robot`` and the new ``community.hrobot.api`` action group, and will eventually drop the ``community.hrobot.robot`` action group once the Robot API for storage boxes is removed by Hetzner (https://github.com/ansible-collections/community.hrobot/pull/166, https://github.com/ansible-collections/community.hrobot/pull/167, https://github.com/ansible-collections/community.hrobot/pull/168, https://github.com/ansible-collections/community.hrobot/pull/169).
131 - storagebox - support the new Hetzner API (https://github.com/ansible-collections/community.hrobot/pull/166).
132 - storagebox_info - support the new Hetzner API (https://github.com/ansible-collections/community.hrobot/pull/166).
133 - storagebox_set_password - support the new Hetzner API. Note that the new API does not support setting a random password; you must always provide a password when using the new API (https://github.com/ansible-collections/community.hrobot/pull/168).
134 - storagebox_snapshot - support the new Hetzner API (https://github.com/ansible-collections/community.hrobot/pull/168).
135 - storagebox_snapshot_info - support the new Hetzner API (https://github.com/ansible-collections/community.hrobot/pull/168).
136 - storagebox_snapshot_plan - support the new Hetzner API (https://github.com/ansible-collections/community.hrobot/pull/167).
137 - storagebox_snapshot_plan_info - support the new Hetzner API (https://github.com/ansible-collections/community.hrobot/pull/167).
138 - storagebox_subaccount - no longer mark ``password_mode`` as ``no_log`` (https://github.com/ansible-collections/community.hrobot/pull/168).
139 - storagebox_subaccount - support the new Hetzner API. Note that the new API does not support setting a random password; you must always provide a password when using the new API to create a storagebox (https://github.com/ansible-collections/community.hrobot/pull/168).
140 - storagebox_subaccount_info - support the new Hetzner API (https://github.com/ansible-collections/community.hrobot/pull/168).
141
142 Bugfixes
143 --------
144
145 - robot inventory plugin - avoid using deprecated option when templating options (https://github.com/ansible-collections/community.hrobot/pull/165).
146
147 Known Issues
148 ------------
149
150 - storagebox* modules - the Hetzner Robot API for storage boxes is `deprecated and will be sunset on July 30, 2025 <https://docs.hetzner.cloud/changelog#2025-06-25-new-api-for-storage-boxes>`__. The modules are currently not compatible with the new API. We will try to adjust them until then, but usage and return values might change slightly due to differences in the APIs.
151 For the new API, an API token needs to be registered and provided as ``hetzner_token`` (https://github.com/ansible-collections/community.hrobot/pull/166).
152
153 v2.4.0
154 ======
155
156 Release Summary
157 ---------------
158
159 Bugfix and feature release.
160 This release contains three new modules that support the remaining aspects of Hetzner Storage Boxes that were not covered so far.
161
162 Bugfixes
163 --------
164
165 - storagebox - make sure that changes of boolean parameters are sent correctly to the Robot service (https://github.com/ansible-collections/community.hrobot/issues/160, https://github.com/ansible-collections/community.hrobot/pull/161).
166
167 New Modules
168 -----------
169
170 - community.hrobot.storagebox_snapshot_info - Query the snapshots for a storage box.
171 - community.hrobot.storagebox_subaccount - Create, update, or delete a subaccount for a storage box.
172 - community.hrobot.storagebox_subaccount_info - Query the subaccounts for a storage box.
173
174 v2.3.0
175 ======
176
177 Release Summary
178 ---------------
179
180 Feature release.
181
182 New Modules
183 -----------
184
185 - community.hrobot.storagebox_snapshot - Create, update, or delete a snapshot of a storage box.
186
187 v2.2.0
188 ======
189
190 Release Summary
191 ---------------
192
193 Feature release.
194
195 New Modules
196 -----------
197
198 - community.hrobot.reset_info - Query information on the resetter of a dedicated server.
199
200 v2.1.0
201 ======
202
203 Release Summary
204 ---------------
205
206 Feature release with several new modules and a deprecation.
207
208 Minor Changes
209 -------------
210
211 - All modules and plugins now have a ``rate_limit_retry_timeout`` option, which allows to configure for how long to wait in case of rate limiting errors. By default, the modules wait indefinitely. Setting the option to ``0`` does not retry (this was the behavior in previous versions), and a positive value sets a number of seconds to wait at most (https://github.com/ansible-collections/community.hrobot/pull/140).
212 - boot - it is now possible to specify SSH public keys in ``authorized_keys``. The fingerprint needed by the Robot API will be extracted automatically (https://github.com/ansible-collections/community.hrobot/pull/134).
213 - v_switch - the module is now part of the ``community.hrobot.robot`` action group, despite already being documented as part of it (https://github.com/ansible-collections/community.hrobot/pull/136).
214
215 Deprecated Features
216 -------------------
217
218 - boot - the various ``arch`` suboptions have been deprecated and will be removed from community.hrobot 3.0.0 (https://github.com/ansible-collections/community.hrobot/pull/134).
219
220 New Modules
221 -----------
222
223 - community.hrobot.storagebox - Modify a storage box's basic configuration.
224 - community.hrobot.storagebox_info - Query information on one or more storage boxes.
225 - community.hrobot.storagebox_set_password - (Re)set the password for a storage box.
226 - community.hrobot.storagebox_snapshot_plan - Modify a storage box's snapshot plans.
227 - community.hrobot.storagebox_snapshot_plan_info - Query the snapshot plans for a storage box.
228
229 v2.0.3
230 ======
231
232 Release Summary
233 ---------------
234
235 Maintenance release with updated documentation.
236
237 v2.0.2
238 ======
239
240 Release Summary
241 ---------------
242
243 Maintenance release with updated documentation.
244
245 v2.0.1
246 ======
247
248 Release Summary
249 ---------------
250
251 Bugfix release.
252
253 Bugfixes
254 --------
255
256 - boot - use PHP array form encoding when sending multiple ``authorized_key`` (https://github.com/ansible-collections/community.hrobot/issues/112, https://github.com/ansible-collections/community.hrobot/pull/113).
257
258 v2.0.0
259 ======
260
261 Release Summary
262 ---------------
263
264 New major release 2.0.0.
265
266 Major Changes
267 -------------
268
269 - The ``community.hrobot`` collection now depends on the ``community.library_inventory_filtering_v1`` collection. This utility collection provides host filtering functionality for inventory plugins. If you use the Ansible community package, both collections are included and you do not have to do anything special. If you install the collection with ``ansible-galaxy collection install``, it will be installed automatically. If you install the collection by copying the files of the collection to a place where ansible-core can find it, for example by cloning the git repository, you need to make sure that you also have to install the dependency if you are using the inventory plugin (https://github.com/ansible-collections/community.hrobot/pull/101).
270
271 Minor Changes
272 -------------
273
274 - robot inventory plugin - add ``filter`` option which allows to include and exclude hosts based on Jinja2 conditions (https://github.com/ansible-collections/community.hrobot/pull/101).
275
276 Breaking Changes / Porting Guide
277 --------------------------------
278
279 - robot inventory plugin - ``filters`` is now no longer an alias of ``simple_filters``, but a new, different option (https://github.com/ansible-collections/community.hrobot/pull/101).
280
281 Removed Features (previously deprecated)
282 ----------------------------------------
283
284 - The collection no longer supports Ansible, ansible-base, and ansible-core releases that are currently End of Life at the time of the 2.0.0 release. This means that Ansible 2.9, ansible-base 2.10, ansible-core 2.11, ansible-core 2.12, and ansible-core 2.13 are no longer supported. The collection might still work with these versions, but it can stop working at any moment without advance notice, and this will not be considered a bug (https://github.com/ansible-collections/community.hrobot/pull/101).
285
286 v1.9.2
287 ======
288
289 Release Summary
290 ---------------
291
292 Bugfix release.
293
294 Bugfixes
295 --------
296
297 - inventory plugins - add unsafe wrapper to avoid marking strings that do not contain ``{`` or ``}`` as unsafe, to work around a bug in AWX (https://github.com/ansible-collections/community.hrobot/pull/102).
298
299 v1.9.1
300 ======
301
302 Release Summary
303 ---------------
304
305 Bugfix release.
306
307 Security Fixes
308 --------------
309
310 - robot inventory plugin - make sure all data received from the Hetzner robot service server is marked as unsafe, so remote code execution by obtaining texts that can be evaluated as templates is not possible (https://www.die-welt.net/2024/03/remote-code-execution-in-ansible-dynamic-inventory-plugins/, https://github.com/ansible-collections/community.hrobot/pull/99).
311
312 v1.9.0
313 ======
314
315 Release Summary
316 ---------------
317
318 Feature and maintenance release.
319
320 Minor Changes
321 -------------
322
323 - robot inventory plugin - the ``filters`` option has been renamed to ``simple_filters``. The old name still works until community.hrobot 2.0.0. Then it will change to allow more complex filtering with the ``community.library_inventory_filtering_v1`` collection's functionality (https://github.com/ansible-collections/community.hrobot/pull/94).
324
325 Deprecated Features
326 -------------------
327
328 - robot inventory plugin - the ``filters`` option has been renamed to ``simple_filters``. The old name will stop working in community.hrobot 2.0.0 (https://github.com/ansible-collections/community.hrobot/pull/94).
329
330 v1.8.2
331 ======
332
333 Release Summary
334 ---------------
335
336 Maintenance release with updated documentation.
337
338 Bugfixes
339 --------
340
341 - Show more information (if available) from error messages (https://github.com/ansible-collections/community.hrobot/pull/89).
342
343 v1.8.1
344 ======
345
346 Release Summary
347 ---------------
348
349 Maintenance release with updated documentation.
350
351 From this version on, community.hrobot is using the new `Ansible semantic markup
352 <https://docs.ansible.com/ansible/devel/dev_guide/developing_modules_documenting.html#semantic-markup-within-module-documentation>`__
353 in its documentation. If you look at documentation with the ansible-doc CLI tool
354 from ansible-core before 2.15, please note that it does not render the markup
355 correctly. You should be still able to read it in most cases, but you need
356 ansible-core 2.15 or later to see it as it is intended. Alternatively you can
357 look at `the devel docsite <https://docs.ansible.com/ansible/devel/collections/community/hrobot/>`__
358 for the rendered HTML version of the documentation of the latest release.
359
360 Known Issues
361 ------------
362
363 - Ansible markup will show up in raw form on ansible-doc text output for ansible-core before 2.15. If you have trouble deciphering the documentation markup, please upgrade to ansible-core 2.15 (or newer), or read the HTML documentation on https://docs.ansible.com/ansible/devel/collections/community/hrobot/.
364
365 v1.8.0
366 ======
367
368 Release Summary
369 ---------------
370
371 Feature release for the Hetzner firewall changes.
372
373 Major Changes
374 -------------
375
376 - firewall - Hetzner added output rules support to the firewall. This change unfortunately means that using old versions of the firewall module will always set the output rule list to empty, thus disallowing the server to send out packets (https://github.com/ansible-collections/community.hrobot/issues/75, https://github.com/ansible-collections/community.hrobot/pull/76).
377
378 Minor Changes
379 -------------
380
381 - firewall, firewall_info - add ``filter_ipv6`` and ``rules.output`` output to support the new IPv6 filtering and output rules features (https://github.com/ansible-collections/community.hrobot/issues/75, https://github.com/ansible-collections/community.hrobot/pull/76).
382 - firewall, firewall_info - add ``server_number`` option that can be used instead of ``server_ip`` to identify the server. Hetzner deprecated configuring the firewall by ``server_ip``, so using ``server_ip`` will stop at some point in the future (https://github.com/ansible-collections/community.hrobot/pull/77).
383
384 v1.7.0
385 ======
386
387 Release Summary
388 ---------------
389
390 Feature release.
391
392 New Modules
393 -----------
394
395 - community.hrobot.v_switch - Manage Hetzner's vSwitch
396
397 v1.6.0
398 ======
399
400 Release Summary
401 ---------------
402
403 Feature release with improved documentation.
404
405 Minor Changes
406 -------------
407
408 - Added a ``community.hrobot.robot`` module defaults group / action group. Use with ``group/community.hrobot.robot`` to provide options for all Hetzner Robot modules (https://github.com/ansible-collections/community.hrobot/pull/65).
409
410 v1.5.2
411 ======
412
413 Release Summary
414 ---------------
415
416 Maintenance release with a documentation improvement.
417
418 Minor Changes
419 -------------
420
421 - The collection repository conforms to the `REUSE specification <https://reuse.software/spec/>`__ except for the changelog fragments (https://github.com/ansible-collections/community.hrobot/pull/60).
422
423 v1.5.1
424 ======
425
426 Release Summary
427 ---------------
428
429 Maintenance release with small documentation fixes.
430
431 v1.5.0
432 ======
433
434 Release Summary
435 ---------------
436
437 Maintenance release changing the way licenses are declared. No functional changes.
438
439 Minor Changes
440 -------------
441
442 - All software licenses are now in the ``LICENSES/`` directory of the collection root. Moreover, ``SPDX-License-Identifier:`` is used to declare the applicable license for every file that is not automatically generated (https://github.com/ansible-collections/community.hrobot/pull/52).
443
444 v1.4.0
445 ======
446
447 Release Summary
448 ---------------
449
450 Feature release.
451
452 Minor Changes
453 -------------
454
455 - robot inventory plugin - allow to template ``hetzner_user`` and ``hetzner_password`` (https://github.com/ansible-collections/community.hrobot/pull/49).
456
457 v1.3.1
458 ======
459
460 Release Summary
461 ---------------
462
463 Maintenance release.
464
465 Bugfixes
466 --------
467
468 - Include ``simplified_bsd.txt`` license file for the ``robot`` and ``failover`` module utils.
469
470 v1.3.0
471 ======
472
473 Release Summary
474 ---------------
475
476 Feature and bugfix release.
477
478 Minor Changes
479 -------------
480
481 - Prepare collection for inclusion in an Execution Environment by declaring its dependencies (https://github.com/ansible-collections/community.hrobot/pull/45).
482
483 Bugfixes
484 --------
485
486 - robot inventory plugin - do not crash if a server neither has name or primary IP set. Instead, fall back to using the server's number as the name. This can happen if unnamed rack reservations show up in your server list (https://github.com/ansible-collections/community.hrobot/issues/40, https://github.com/ansible-collections/community.hrobot/pull/47).
487
488 v1.2.3
489 ======
490
491 Release Summary
492 ---------------
493
494 Docs update release.
495
496 v1.2.2
497 ======
498
499 Release Summary
500 ---------------
501
502 Bugfix release.
503
504 Bugfixes
505 --------
506
507 - boot - fix incorrect handling of SSH authorized keys (https://github.com/ansible-collections/community.hrobot/issues/32, https://github.com/ansible-collections/community.hrobot/pull/33).
508
509 v1.2.1
510 ======
511
512 Release Summary
513 ---------------
514
515 Maintenance release.
516
517 Minor Changes
518 -------------
519
520 - Generic module HTTP support code - fix usage of ``fetch_url`` with changes in latest ansible-core ``devel`` branch (https://github.com/ansible-collections/community.hrobot/pull/30).
521
522 v1.2.0
523 ======
524
525 Release Summary
526 ---------------
527
528 Feature release with multiple new modules.
529
530 Minor Changes
531 -------------
532
533 - Avoid internal ansible-core module_utils in favor of equivalent public API available since at least Ansible 2.9 (https://github.com/ansible-collections/community.hrobot/pull/18).
534 - firewall - rename option ``whitelist_hos`` to ``allowlist_hos``, keep old name as alias (https://github.com/ansible-collections/community.hrobot/pull/15).
535 - firewall, firewall_info - add return value ``allowlist_hos``, which contains the same value as ``whitelist_hos``. The old name ``whitelist_hos`` will be removed eventually (https://github.com/ansible-collections/community.hrobot/pull/15).
536 - robot module utils - add ``allow_empty_result`` parameter to ``plugin_open_url_json`` and ``fetch_url_json`` (https://github.com/ansible-collections/community.hrobot/pull/16).
537
538 New Modules
539 -----------
540
541 - community.hrobot.boot - Set boot configuration
542 - community.hrobot.reset - Reset a dedicated server
543 - community.hrobot.reverse_dns - Set or remove reverse DNS entry for IP
544 - community.hrobot.server - Update server information
545 - community.hrobot.server_info - Query information on one or more servers
546 - community.hrobot.ssh_key - Add, remove or update SSH key
547 - community.hrobot.ssh_key_info - Query information on SSH keys
548
549 v1.1.1
550 ======
551
552 Release Summary
553 ---------------
554
555 Bugfix release which reduces the number of HTTPS queries for the modules and plugins.
556
557 Bugfixes
558 --------
559
560 - robot - force HTTP basic authentication to reduce number of HTTPS requests (https://github.com/ansible-collections/community.hrobot/pull/9).
561
562 v1.1.0
563 ======
564
565 Release Summary
566 ---------------
567
568 Release with a new inventory plugin.
569
570 New Plugins
571 -----------
572
573 Inventory
574 ~~~~~~~~~
575
576 - community.hrobot.robot - Hetzner Robot inventory source
577
578 v1.0.0
579 ======
580
581 Release Summary
582 ---------------
583
584 The ``community.hrobot`` continues the work on the Hetzner Robot modules from their state in ``community.general`` 1.2.0. The changes listed here are thus relative to the modules ``community.general.hetzner_*``.
585
586 Breaking Changes / Porting Guide
587 --------------------------------
588
589 - firewall - now requires the `ipaddress <https://pypi.org/project/ipaddress/>`_ library (https://github.com/ansible-collections/community.hrobot/pull/2).