1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-04-10 05:55:13 +00:00

Normalize more booleans. (#5247) (#5250)

(cherry picked from commit 015566fb06)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot] 2022-09-06 21:07:46 +02:00 committed by GitHub
parent 7229ef4ac4
commit 8595601708
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
170 changed files with 465 additions and 465 deletions

View file

@ -90,7 +90,7 @@ changed:
description: Whether the api accepted the message.
returned: always
type: bool
sample: True
sample: true
'''

View file

@ -97,10 +97,10 @@ EXAMPLES = """
fields:
- title: System A
value: "load average: 0,74, 0,66, 0,63"
short: True
short: true
- title: System B
value: 'load average: 5,16, 4,64, 2,43'
short: True
short: true
"""
RETURN = '''

View file

@ -112,7 +112,7 @@ EXAMPLES = '''
topic: 'service/ansible/{{ ansible_hostname }}'
payload: 'Hello at {{ ansible_date_time.iso8601 }}'
qos: 0
retain: False
retain: false
client_id: ans001
delegate_to: localhost
'''

View file

@ -135,10 +135,10 @@ EXAMPLES = """
fields:
- title: System A
value: 'load average: 0,74, 0,66, 0,63'
short: True
short: true
- title: System B
value: 'load average: 5,16, 4,64, 2,43'
short: True
short: true
delegate_to: localhost
"""

View file

@ -175,10 +175,10 @@ EXAMPLES = """
fields:
- title: System A
value: "load average: 0,74, 0,66, 0,63"
short: True
short: true
- title: System B
value: 'load average: 5,16, 4,64, 2,43'
short: True
short: true
- name: Use the blocks API
community.general.slack:

View file

@ -18,7 +18,7 @@ options:
type: str
description:
- This is the message to place in syslog.
required: True
required: true
priority:
type: str
description:
@ -37,7 +37,7 @@ options:
description:
- Log the PID in brackets.
type: bool
default: False
default: false
ident:
description:
- Specify the name of application name which is sending the log to syslog.
@ -88,7 +88,7 @@ log_pid:
description: Log PID status
returned: always
type: bool
sample: True
sample: true
msg:
description: Message sent to syslog
returned: always

View file

@ -54,8 +54,8 @@ EXAMPLES = """
chat_id: 000000
parse_mode: "markdown"
text: "Your precious application has been deployed: https://example.com"
disable_web_page_preview: True
disable_notification: True
disable_web_page_preview: true
disable_notification: true
- name: Forward message to someone
community.general.telegram:
@ -64,7 +64,7 @@ EXAMPLES = """
api_args:
chat_id: 000000
from_chat_id: 111111
disable_notification: True
disable_notification: true
message_id: '{{ saved_msg_id }}'
"""