mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-19 11:20:22 -07:00
Tidy up validate-modules ignores for notification modules (#1229)
* fixed validation-modules for plugins/modules/notification/bearychat.py * fixed validation-modules for plugins/modules/notification/campfire.py * fixed validation-modules for plugins/modules/notification/catapult.py * fixed validation-modules for plugins/modules/notification/flowdock.py * fixed validation-modules for plugins/modules/notification/grove.py * fixed validation-modules for plugins/modules/notification/hipchat.py * fixed validation-modules for plugins/modules/notification/irc.py * fixed validation-modules for plugins/modules/notification/jabber.py * fixed validation-modules for plugins/modules/notification/logentries_msg.py * fixed validation-modules for plugins/modules/notification/mail.py * fixed validation-modules for plugins/modules/notification/matrix.py * fixed validation-modules for plugins/modules/notification/mattermost.py * fixed validation-modules for plugins/modules/notification/mqtt.py * fixed validation-modules for plugins/modules/notification/nexmo.py * fixed validation-modules for plugins/modules/notification/office_365_connector_card.py * fixed some docs issues in plugins/modules/notification/pushbullet.py, but cannot remove the ignore lines yet * fixed validation-modules for plugins/modules/notification/pushover.py * fixed some docs issues in plugins/modules/notification/rocketchat.py, but cannot remove all ignore lines yet * fixed validation-modules for plugins/modules/notification/say.py * fixed validation-modules for plugins/modules/notification/sendgrid.py * fixed validation-modules for plugins/modules/notification/slack.py * fixed validation-modules for plugins/modules/notification/syslogger.py * fixed validation-modules for plugins/modules/notification/telegram.py * fixed validation-modules for plugins/modules/notification/twilio.py * fixed validation-modules for plugins/modules/notification/typetalk.py * Enabling validation-modules for modules in: notification * removed naughty trailing space
This commit is contained in:
parent
890ff574c3
commit
24f780ec9a
28 changed files with 187 additions and 154 deletions
|
@ -19,17 +19,20 @@ description:
|
|||
author: "Ramon de la Fuente (@ramondelafuente)"
|
||||
options:
|
||||
domain:
|
||||
type: str
|
||||
description:
|
||||
- The domain for your environment without protocol. (i.e.
|
||||
C(example.com) or C(chat.example.com))
|
||||
required: true
|
||||
token:
|
||||
type: str
|
||||
description:
|
||||
- Rocket Chat Incoming Webhook integration token. This provides
|
||||
authentication to Rocket Chat's Incoming webhook for posting
|
||||
messages.
|
||||
required: true
|
||||
protocol:
|
||||
type: str
|
||||
description:
|
||||
- Specify the protocol used to send notification messages before the webhook url. (i.e. http or https)
|
||||
default: https
|
||||
|
@ -37,25 +40,31 @@ options:
|
|||
- 'http'
|
||||
- 'https'
|
||||
msg:
|
||||
type: str
|
||||
description:
|
||||
- Message to be sent.
|
||||
channel:
|
||||
type: str
|
||||
description:
|
||||
- Channel to send the message to. If absent, the message goes to the channel selected for the I(token)
|
||||
specified during the creation of webhook.
|
||||
username:
|
||||
type: str
|
||||
description:
|
||||
- This is the sender of the message.
|
||||
default: "Ansible"
|
||||
icon_url:
|
||||
type: str
|
||||
description:
|
||||
- URL for the message sender's icon.
|
||||
default: "https://www.ansible.com/favicon.ico"
|
||||
icon_emoji:
|
||||
type: str
|
||||
description:
|
||||
- Emoji for the message sender. The representation for the available emojis can be
|
||||
got from Rocket Chat. (for example :thumbsup:) (if I(icon_emoji) is set, I(icon_url) will not be used)
|
||||
link_names:
|
||||
type: int
|
||||
description:
|
||||
- Automatically create links for channels and usernames in I(msg).
|
||||
default: 1
|
||||
|
@ -69,6 +78,7 @@ options:
|
|||
type: bool
|
||||
default: 'yes'
|
||||
color:
|
||||
type: str
|
||||
description:
|
||||
- Allow text to use default colors - use the default of 'normal' to not send a custom color bar at the start of the message
|
||||
default: 'normal'
|
||||
|
@ -78,6 +88,7 @@ options:
|
|||
- 'warning'
|
||||
- 'danger'
|
||||
attachments:
|
||||
type: list
|
||||
description:
|
||||
- Define a list of attachments.
|
||||
'''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue