1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Adjust booleans in notification modules. (#5157) (#5171)

(cherry picked from commit 35a283918a)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot] 2022-08-24 20:48:53 +02:00 committed by GitHub
parent f3a2750205
commit fe0a5fd85f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 30 additions and 30 deletions

View file

@ -28,8 +28,8 @@ options:
- Message to send.
markdown:
description:
- If C(yes), text will be parsed as markdown.
default: 'yes'
- If C(true), text will be parsed as markdown.
default: true
type: bool
channel:
type: str
@ -58,7 +58,7 @@ EXAMPLES = """
url: |
https://hook.bearychat.com/=ae2CF/incoming/e61bd5c57b164e04b11ac02e66f47f60
text: "{{ inventory_hostname }} completed"
markdown: no
markdown: false
channel: "#ansible"
attachments:
- title: "Ansible on {{ inventory_hostname }}"

View file

@ -26,14 +26,14 @@ options:
description:
- The request parameter you would like to send the message to.
- Messages can be sent to either a room or individual (by ID or E-Mail).
required: yes
required: true
choices: ['roomId', 'toPersonEmail', 'toPersonId']
type: str
recipient_id:
description:
- The unique identifier associated with the supplied C(recipient_type).
required: yes
required: true
type: str
msg_type:
@ -47,14 +47,14 @@ options:
personal_token:
description:
- Your personal access token required to validate the Webex Teams API.
required: yes
required: true
aliases: ['token']
type: str
msg:
description:
- The message you would like to send.
required: yes
required: true
type: str
'''

View file

@ -25,13 +25,13 @@ options:
description:
- The webhook ID.
- "Format from Discord webhook URL: C(/webhooks/{webhook.id}/{webhook.token})."
required: yes
required: true
type: str
webhook_token:
description:
- The webhook token.
- "Format from Discord webhook URL: C(/webhooks/{webhook.id}/{webhook.token})."
required: yes
required: true
type: str
content:
description:

View file

@ -80,10 +80,10 @@ options:
required: false
validate_certs:
description:
- If C(no), SSL certificates will not be validated. This should only be used
- If C(false), SSL certificates will not be validated. This should only be used
on personally controlled sites using self-signed certificates.
required: false
default: 'yes'
default: true
type: bool
requirements: [ ]

View file

@ -46,9 +46,9 @@ options:
required: false
validate_certs:
description:
- If C(no), SSL certificates will not be validated. This should only be used
- If C(false), SSL certificates will not be validated. This should only be used
on personally controlled sites using self-signed certificates.
default: 'yes'
default: true
type: bool
author: "Jonas Pfenniger (@zimbatm)"
'''

View file

@ -54,13 +54,13 @@ options:
description:
- If true, a notification will be triggered for users in the room.
type: bool
default: 'yes'
default: true
validate_certs:
description:
- If C(no), SSL certificates will not be validated. This should only be used
- If C(false), SSL certificates will not be validated. This should only be used
on personally controlled sites using self-signed certificates.
type: bool
default: 'yes'
default: true
api:
type: str
description:

View file

@ -76,13 +76,13 @@ options:
description:
- Designates whether TLS/SSL should be used when connecting to the IRC server
type: bool
default: 'no'
default: false
part:
description:
- Designates whether user should part from channel after sending message or not.
Useful for when using a faux bot and not wanting join/parts between messages.
type: bool
default: 'yes'
default: true
style:
type: str
description:

View file

@ -58,7 +58,7 @@ options:
subject:
description:
- The subject of the email being sent.
required: yes
required: true
type: str
aliases: [ msg ]
body:

View file

@ -64,9 +64,9 @@ options:
default: https://www.ansible.com/favicon.ico
validate_certs:
description:
- If C(no), SSL certificates will not be validated. This should only be used
- If C(false), SSL certificates will not be validated. This should only be used
on personally controlled sites using self-signed certificates.
default: yes
default: true
type: bool
'''

View file

@ -63,7 +63,7 @@ options:
applications that subsequently subscribe to the topic can received the last
retained message immediately.
type: bool
default: 'no'
default: false
ca_cert:
type: path
description:

View file

@ -45,10 +45,10 @@ options:
required: true
validate_certs:
description:
- If C(no), SSL certificates will not be validated. This should only be used
- If C(false), SSL certificates will not be validated. This should only be used
on personally controlled sites using self-signed certificates.
type: bool
default: 'yes'
default: true
extends_documentation_fragment:
- url
'''

View file

@ -74,10 +74,10 @@ options:
- 0
validate_certs:
description:
- If C(no), SSL certificates will not be validated. This should only be used
- If C(false), SSL certificates will not be validated. This should only be used
on personally controlled sites using self-signed certificates.
type: bool
default: 'yes'
default: true
color:
type: str
description:

View file

@ -81,7 +81,7 @@ options:
description:
- Whether the body is html content that should be rendered.
type: bool
default: 'no'
default: false
headers:
type: dict
description:
@ -90,7 +90,7 @@ options:
type: str
description:
- The e-mail body content.
required: yes
required: true
author: "Matt Makai (@makaimc)"
'''

View file

@ -104,10 +104,10 @@ options:
- 'none'
validate_certs:
description:
- If C(no), SSL certificates will not be validated. This should only be used
- If C(false), SSL certificates will not be validated. This should only be used
on personally controlled sites using self-signed certificates.
type: bool
default: 'yes'
default: true
color:
type: str
description: