Fix spelling mistakes (comments only) (#25564)

Original Author : klemens <ka7@github.com>

Taking over previous PR as per
https://github.com/ansible/ansible/pull/23644#issuecomment-307334525

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
Abhijeet Kasurde
2017-06-12 12:25:19 +05:30
committed by John R Barker
parent 460d932aa8
commit b89cb95609
158 changed files with 202 additions and 201 deletions

View File

@@ -38,7 +38,7 @@ options:
required: true
msg:
description:
- The message you wish to deliver as a notifcation
- The message you wish to deliver as a notification
required: true
title:
description:

View File

@@ -43,7 +43,7 @@ options:
api_key:
description:
- Mattermost webhook api key. Log into your mattermost site, go to
Menu -> Integration -> Incomming Webhook -> Add Incomming Webhook.
Menu -> Integration -> Incoming Webhook -> Add Incoming Webhook.
This will give you full URL. api_key is the last part.
http://mattermost.example.com/hooks/C(API_KEY)
required: true
@@ -147,7 +147,7 @@ def main():
if module.check_mode is False:
response, info = fetch_url(module=module, url=webhook_url, headers=headers, method='POST', data=payload)
#somthing's wrong
#something's wrong
if info['status'] != 200:
#some problem
result['msg'] = "Failed to send mattermost message, the error was: {0}".format(info['msg'])

View File

@@ -60,7 +60,7 @@ options:
channel:
description:
- Channel to send the message to. If absent, the message goes to the channel selected for the I(token)
specifed during the creation of webhook.
specified during the creation of webhook.
required: false
default: None
username: