notify/grove: set the service to "ansible" by default
This commit is contained in:
parent
4b9127f0af
commit
fe4d203b9a
1 changed files with 4 additions and 3 deletions
|
@ -16,8 +16,9 @@ options:
|
||||||
required: true
|
required: true
|
||||||
service:
|
service:
|
||||||
description:
|
description:
|
||||||
- Name of the service (displayed in the message)
|
- Name of the service (displayed as the "user" in the message)
|
||||||
required: true
|
required: false
|
||||||
|
default: ansible
|
||||||
message:
|
message:
|
||||||
description:
|
description:
|
||||||
- Message content
|
- Message content
|
||||||
|
@ -66,7 +67,7 @@ def main():
|
||||||
argument_spec = dict(
|
argument_spec = dict(
|
||||||
channel_token = dict(type='str', required=True),
|
channel_token = dict(type='str', required=True),
|
||||||
message = dict(type='str', required=True),
|
message = dict(type='str', required=True),
|
||||||
service = dict(type='str', required=True),
|
service = dict(type='str', default='ansible'),
|
||||||
url = dict(type='str', default=None),
|
url = dict(type='str', default=None),
|
||||||
icon_url = dict(type='str', default=None),
|
icon_url = dict(type='str', default=None),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue