1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-04-10 05:55:13 +00:00

Fix non-matching defaults in docs (#5446)

* Allow to pass options as lookup options.

* Adjust tests.

* Fix non-matching defaults.
This commit is contained in:
Felix Fontein 2022-11-01 18:11:02 +01:00 committed by GitHub
parent f1d5f71b8d
commit a978bff2c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
79 changed files with 187 additions and 63 deletions

View file

@ -53,14 +53,12 @@ options:
elements: str
description:
- List of handlers to notify when the check fails
default: []
subscribers:
type: list
elements: str
description:
- List of subscribers/channels this check should run for
- See sensu_subscribers to subscribe a machine to a channel
default: []
interval:
type: int
description:
@ -92,7 +90,6 @@ options:
elements: str
description:
- Other checks this check depends on, if dependencies fail handling of this check will be disabled
default: []
metric:
description:
- Whether the check is a metric
@ -138,7 +135,6 @@ options:
description:
- A hash/dictionary of custom parameters for mixing to the configuration.
- You can't rewrite others module parameters using this
default: {}
source:
type: str
description:

View file

@ -62,6 +62,7 @@ options:
type: str
description:
- The prefix to add to the metric.
default: ''
value:
type: int
required: true