Fix boolean defaults. (#1343)

This commit is contained in:
Felix Fontein 2020-11-23 12:14:43 +01:00 committed by GitHub
commit a96f90ff94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
31 changed files with 34 additions and 14 deletions

View file

@ -48,7 +48,6 @@ options:
- Deprecated. Will be removed in community.general 2.0.0. Set I(recreate) to C(options-changed) instead
for the same behavior of setting I(force) to C(yes).
type: bool
default: no
recreate:
description:

View file

@ -86,6 +86,7 @@ options:
description:
- Whether versioning is enabled or disabled (note that once versioning is enabled, it can only be suspended)
type: bool
default: false
requirements:
- "python >= 2.6"

View file

@ -148,7 +148,6 @@ options:
- if set to C(yes), instances will be preemptible and time-limited.
(requires libcloud >= 0.20.0)
type: bool
default: 'no'
disk_size:
type: int
description:

View file

@ -21,7 +21,6 @@ options:
description:
- do not destroy the disk, merely detach it from an instance
type: bool
default: 'no'
instance_name:
type: str
description:
@ -87,7 +86,6 @@ options:
description:
- If C(yes), deletes the volume when instance is terminated
type: bool
default: 'no'
image_family:
type: str
description:

View file

@ -56,6 +56,7 @@ options:
type: str
relative:
type: bool
default: false
description:
- If set then the current domain is added onto the address field for C(CNAME), C(MX), C(NS)
and C(SRV)record types.

View file

@ -48,6 +48,7 @@ options:
- "If I(true) all the attributes of the virtual machines should be
included in the response."
type: bool
default: false
case_sensitive:
description:
- "If I(true) performed search will take case into account."

View file

@ -276,7 +276,7 @@ def main():
timeout=dict(type='int', default=30),
type=dict(choices=['PUBLIC', 'SERVICENET'], default='PUBLIC'),
vip_id=dict(),
wait=dict(type='bool'),
wait=dict(type='bool', default=False),
wait_timeout=dict(type='int', default=300),
)
)

View file

@ -34,10 +34,12 @@ options:
Private containers, if previously made public, can have live objects
available until the TTL on cached objects expires
type: bool
default: false
public:
description:
- Used to set a container as public, available via the Cloud Files CDN
type: bool
default: false
region:
type: str
description:

View file

@ -61,6 +61,7 @@ options:
- If yes, create this alarm, but leave it in an inactive state. Defaults to
no.
type: bool
default: false
metadata:
type: dict
description:

View file

@ -93,6 +93,7 @@ options:
description:
- If "yes", ensure the check is created, but don't actually use it yet.
type: bool
default: false
metadata:
type: dict
description: