mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-04 07:24:00 -07:00
[PR #10480/c1bd4611 backport][stable-11] doc style adjustments: modules s* (#10487)
doc style adjustments: modules s* (#10480)
* doc style adjustments: modules s*
* adjust comment indentation
* remove empty RETURN section in stacki_host
* spectrum_model_attrs: improve formatting of example
* Apply suggestions from code review
* Update plugins/modules/spotinst_aws_elastigroup.py
* Update plugins/modules/swdepot.py
---------
(cherry picked from commit c1bd461173
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
f8eca8a209
commit
9e91fb0704
42 changed files with 191 additions and 174 deletions
|
@ -14,7 +14,7 @@ author: "David Moreau Simard (@dmsimard)"
|
|||
short_description: Manages Sensu handler configuration
|
||||
description:
|
||||
- Manages Sensu handler configuration.
|
||||
- 'For more information, refer to the L(Sensu documentation, https://sensuapp.org/docs/latest/reference/handlers.html).'
|
||||
- For more information, refer to the L(Sensu documentation, https://sensuapp.org/docs/latest/reference/handlers.html).
|
||||
deprecated:
|
||||
removed_in: 13.0.0
|
||||
why: Sensu Core and Sensu Enterprise products have been End of Life since 2019/20.
|
||||
|
@ -57,7 +57,7 @@ options:
|
|||
type: list
|
||||
elements: str
|
||||
description:
|
||||
- An array of check result severities the handler will handle.
|
||||
- An array of check result severities the handler handles.
|
||||
- 'NOTE: event resolution bypasses this filtering.'
|
||||
- "Example: [ 'warning', 'critical', 'unknown' ]."
|
||||
mutator:
|
||||
|
@ -155,7 +155,12 @@ config:
|
|||
description: Effective handler configuration, when state is present.
|
||||
returned: success
|
||||
type: dict
|
||||
sample: {'name': 'irc', 'type': 'pipe', 'command': '/usr/local/bin/notify-irc.sh'}
|
||||
sample:
|
||||
{
|
||||
"name": "irc",
|
||||
"type": "pipe",
|
||||
"command": "/usr/local/bin/notify-irc.sh"
|
||||
}
|
||||
file:
|
||||
description: Path to the handler configuration file.
|
||||
returned: success
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue