mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-31 13:29:08 -07:00
* fixed validation-modules for plugins/modules/cloud/rackspace/rax_mon_notification_plan.py
* fixed sanity check
* added changelog fragment
(cherry picked from commit 0e90ff48b5
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
9244d0ae47
commit
8c9add3d15
5 changed files with 8 additions and 6 deletions
|
@ -32,16 +32,19 @@ options:
|
|||
required: true
|
||||
critical_state:
|
||||
type: list
|
||||
elements: str
|
||||
description:
|
||||
- Notification list to use when the alarm state is CRITICAL. Must be an
|
||||
array of valid rax_mon_notification ids.
|
||||
warning_state:
|
||||
type: list
|
||||
elements: str
|
||||
description:
|
||||
- Notification list to use when the alarm state is WARNING. Must be an array
|
||||
of valid rax_mon_notification ids.
|
||||
ok_state:
|
||||
type: list
|
||||
elements: str
|
||||
description:
|
||||
- Notification list to use when the alarm state is OK. Must be an array of
|
||||
valid rax_mon_notification ids.
|
||||
|
@ -150,9 +153,9 @@ def main():
|
|||
dict(
|
||||
state=dict(default='present', choices=['present', 'absent']),
|
||||
label=dict(required=True),
|
||||
critical_state=dict(type='list'),
|
||||
warning_state=dict(type='list'),
|
||||
ok_state=dict(type='list')
|
||||
critical_state=dict(type='list', elements='str'),
|
||||
warning_state=dict(type='list', elements='str'),
|
||||
ok_state=dict(type='list', elements='str'),
|
||||
)
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue