Fix Sanity tests: doc-default-does-not-match-spec (#46)

Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
This commit is contained in:
Lukas Kämmerling 2020-12-08 07:37:54 +01:00 committed by GitHub
parent ff359431a1
commit c26039cabf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 1 deletions

View file

@ -293,7 +293,7 @@ class AnsibleHcloudLoadBalancer(Hcloud):
network_zone={"type": "str"}, network_zone={"type": "str"},
labels={"type": "dict"}, labels={"type": "dict"},
delete_protection={"type": "bool"}, delete_protection={"type": "bool"},
disable_public_interface={"type": "bool"}, disable_public_interface={"type": "bool", "default": False},
state={ state={
"choices": ["absent", "present"], "choices": ["absent", "present"],
"default": "present", "default": "present",

View file

@ -47,6 +47,7 @@ options:
description: description:
- Enable the PROXY protocol. - Enable the PROXY protocol.
type: bool type: bool
default: False
http: http:
description: description:
- Configuration for HTTP and HTTPS services - Configuration for HTTP and HTTPS services
@ -69,10 +70,12 @@ options:
description: description:
- Enable or disable sticky_sessions - Enable or disable sticky_sessions
type: bool type: bool
default: False
redirect_http: redirect_http:
description: description:
- Redirect Traffic from Port 80 to Port 443, only available if protocol is https - Redirect Traffic from Port 80 to Port 443, only available if protocol is https
type: bool type: bool
default: False
health_check: health_check:
description: description:
- Configuration for health checks - Configuration for health checks
@ -125,6 +128,7 @@ options:
description: description:
- Verify the TLS certificate, only available if health check protocol is https - Verify the TLS certificate, only available if health check protocol is https
type: bool type: bool
default: False
state: state:
description: description:
- State of the Load Balancer. - State of the Load Balancer.

View file

@ -53,6 +53,7 @@ options:
- Route the traffic over the private IP of the Load Balancer through a Hetzner Cloud Network. - Route the traffic over the private IP of the Load Balancer through a Hetzner Cloud Network.
- Load Balancer needs to be attached to a network. See M(hetzner.hcloud.hcloud.hcloud_load_balancer_network) - Load Balancer needs to be attached to a network. See M(hetzner.hcloud.hcloud.hcloud_load_balancer_network)
type: bool type: bool
default: False
state: state:
description: description:
- State of the load_balancer_network. - State of the load_balancer_network.

View file

@ -41,6 +41,7 @@ options:
description: description:
- Automatically mount the Volume. - Automatically mount the Volume.
type: bool type: bool
default: False
format: format:
description: description:
- Automatically Format the volume on creation - Automatically Format the volume on creation