hcloud_server: Change backups default to None (#97)

When the default is set to false, it always disables the backups when a user do not specify the backups to True always. This shouldn't be the case.

Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
This commit is contained in:
Lukas Kämmerling 2021-07-19 07:21:09 +02:00 committed by GitHub
parent ffd998a0d6
commit 6e171f231f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -0,0 +1,2 @@
bugfixes:
- hcloud_server backups property defaults to None now instead of False

View file

@ -73,7 +73,6 @@ options:
description:
- Enable or disable Backups for the given Server.
type: bool
default: no
upgrade_disk:
description:
- Resize the disk size, when resizing a server.
@ -605,7 +604,7 @@ class AnsibleHcloudServer(Hcloud):
volumes={"type": "list", "elements": "str"},
firewalls={"type": "list", "elements": "str"},
labels={"type": "dict"},
backups={"type": "bool", "default": False},
backups={"type": "bool"},
upgrade_disk={"type": "bool", "default": False},
force_upgrade={"type": "bool", "default": False},
allow_deprecated_image={"type": "bool", "default": False},