mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-22 14:01:42 -07:00
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:
parent
460d932aa8
commit
b89cb95609
158 changed files with 202 additions and 201 deletions
|
@ -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'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue