mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-23 02:41:25 -07:00
[PR #5962/51394b55 backport][stable-6] Add attributes to some messaging modules (#6060)
Add attributes to some messaging modules (#5962)
Add attributes to some messaging modules.
(cherry picked from commit 51394b55a0
)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
93650233e4
commit
4fc0c9a6d8
21 changed files with 176 additions and 30 deletions
|
@ -21,39 +21,46 @@ notes:
|
|||
- Like the other notification modules, this one requires an external
|
||||
dependency to work. In this case, you'll need a Twilio account with
|
||||
a purchased or verified phone number to send the text message.
|
||||
extends_documentation_fragment:
|
||||
- community.general.attributes
|
||||
attributes:
|
||||
check_mode:
|
||||
support: full
|
||||
diff_mode:
|
||||
support: none
|
||||
options:
|
||||
account_sid:
|
||||
type: str
|
||||
description:
|
||||
user's Twilio account token found on the account page
|
||||
- User's Twilio account token found on the account page.
|
||||
required: true
|
||||
auth_token:
|
||||
type: str
|
||||
description: user's Twilio authentication token
|
||||
description:
|
||||
- User's Twilio authentication token.
|
||||
required: true
|
||||
msg:
|
||||
type: str
|
||||
description:
|
||||
the body of the text message
|
||||
- The body of the text message.
|
||||
required: true
|
||||
to_numbers:
|
||||
type: list
|
||||
elements: str
|
||||
description:
|
||||
one or more phone numbers to send the text message to,
|
||||
format +15551112222
|
||||
- One or more phone numbers to send the text message to, format C(+15551112222).
|
||||
required: true
|
||||
aliases: [ to_number ]
|
||||
from_number:
|
||||
type: str
|
||||
description:
|
||||
the Twilio number to send the text message from, format +15551112222
|
||||
- The Twilio number to send the text message from, format C(+15551112222).
|
||||
required: true
|
||||
media_url:
|
||||
type: str
|
||||
description:
|
||||
a URL with a picture, video or sound clip to send with an MMS
|
||||
(multimedia message) instead of a plain SMS
|
||||
- A URL with a picture, video or sound clip to send with an MMS
|
||||
(multimedia message) instead of a plain SMS.
|
||||
required: false
|
||||
|
||||
author: "Matt Makai (@makaimc)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue