ansible-collection-hetzner-.../plugins/modules
lrsksr 25bce7eabd
fix(server): prevent backups from being disabled when undefined (#196)
* fix(server): prevent backups from being disabled when undefined

With an existing server with backups enabled and the state being either
present, started, stopped, restarted or rebuild and the backups module
parameter not set, the module would disable backups and in turn delete
all existing backups.

The correct behaviour (leave backups untouched when parameter not set)
is implemented by this commit. Strong typing would have prevented this.

* test: verify fix works

---------

Co-authored-by: Julian Tölle <julian.toelle@hetzner-cloud.de>
2023-04-03 12:36:33 +02:00
..
__init__.py Initial commit 2020-03-09 13:36:01 +00:00
hcloud_certificate.py lint: fix unused-import errors (#195) 2023-03-31 09:01:22 +02:00
hcloud_certificate_info.py lint: fix unused-import errors (#195) 2023-03-31 09:01:22 +02:00
hcloud_datacenter_facts.py Initial commit 2020-03-09 13:36:01 +00:00
hcloud_datacenter_info.py lint: fix unused-import errors (#195) 2023-03-31 09:01:22 +02:00
hcloud_firewall.py hcloud_firewall: Fix race condition on deletion of firewalls (#166) 2022-11-08 14:05:13 +01:00
hcloud_floating_ip.py lint: fix unused-import errors (#195) 2023-03-31 09:01:22 +02:00
hcloud_floating_ip_facts.py Initial commit 2020-03-09 13:36:01 +00:00
hcloud_floating_ip_info.py lint: fix unused-import errors (#195) 2023-03-31 09:01:22 +02:00
hcloud_image_facts.py Initial commit 2020-03-09 13:36:01 +00:00
hcloud_image_info.py lint: fix unused-import errors (#195) 2023-03-31 09:01:22 +02:00
hcloud_load_balancer.py lint: fix unused-import errors (#195) 2023-03-31 09:01:22 +02:00
hcloud_load_balancer_info.py lint: fix unused-import errors (#195) 2023-03-31 09:01:22 +02:00
hcloud_load_balancer_network.py lint: fix unused-import errors (#195) 2023-03-31 09:01:22 +02:00
hcloud_load_balancer_service.py lint: fix unused-import errors (#195) 2023-03-31 09:01:22 +02:00
hcloud_load_balancer_target.py lint: fix unused-import errors (#195) 2023-03-31 09:01:22 +02:00
hcloud_load_balancer_type_info.py lint: fix unused-import errors (#195) 2023-03-31 09:01:22 +02:00
hcloud_location_facts.py Initial commit 2020-03-09 13:36:01 +00:00
hcloud_location_info.py lint: fix unused-import errors (#195) 2023-03-31 09:01:22 +02:00
hcloud_network.py lint: fix unused-import errors (#195) 2023-03-31 09:01:22 +02:00
hcloud_network_info.py lint: fix unused-import errors (#195) 2023-03-31 09:01:22 +02:00
hcloud_placement_group.py Docs: fix typo (#127) 2022-04-25 06:28:21 +02:00
hcloud_primary_ip.py lint: fix unused-import errors (#195) 2023-03-31 09:01:22 +02:00
hcloud_rdns.py lint: fix unused-import errors (#195) 2023-03-31 09:01:22 +02:00
hcloud_route.py lint: fix unused-import errors (#195) 2023-03-31 09:01:22 +02:00
hcloud_server.py fix(server): prevent backups from being disabled when undefined (#196) 2023-04-03 12:36:33 +02:00
hcloud_server_facts.py Initial commit 2020-03-09 13:36:01 +00:00
hcloud_server_info.py lint: fix unused-import errors (#195) 2023-03-31 09:01:22 +02:00
hcloud_server_network.py fixes alias_ips by using sorted (#134) 2022-06-13 08:58:32 +02:00
hcloud_server_type_facts.py Initial commit 2020-03-09 13:36:01 +00:00
hcloud_server_type_info.py lint: fix unused-import errors (#195) 2023-03-31 09:01:22 +02:00
hcloud_ssh_key.py lint: fix unused-import errors (#195) 2023-03-31 09:01:22 +02:00
hcloud_ssh_key_facts.py Initial commit 2020-03-09 13:36:01 +00:00
hcloud_ssh_key_info.py lint: fix unused-import errors (#195) 2023-03-31 09:01:22 +02:00
hcloud_subnetwork.py lint: fix unused-import errors (#195) 2023-03-31 09:01:22 +02:00
hcloud_volume.py lint: fix unused-import errors (#195) 2023-03-31 09:01:22 +02:00
hcloud_volume_facts.py Initial commit 2020-03-09 13:36:01 +00:00
hcloud_volume_info.py lint: fix unused-import errors (#195) 2023-03-31 09:01:22 +02:00