From fe4d203b9a13c4dacf2f2855e5cae70ba87e2b5c Mon Sep 17 00:00:00 2001 From: zimbatm Date: Tue, 21 Jan 2014 12:43:25 +0000 Subject: [PATCH] notify/grove: set the service to "ansible" by default --- library/notification/grove | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/library/notification/grove b/library/notification/grove index 467f696277..b759f025e2 100644 --- a/library/notification/grove +++ b/library/notification/grove @@ -16,8 +16,9 @@ options: required: true service: description: - - Name of the service (displayed in the message) - required: true + - Name of the service (displayed as the "user" in the message) + required: false + default: ansible message: description: - Message content @@ -66,7 +67,7 @@ def main(): argument_spec = dict( channel_token = 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), icon_url = dict(type='str', default=None), )