[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:
patchback[bot] 2023-02-24 11:04:52 +01:00 committed by GitHub
parent 93650233e4
commit 4fc0c9a6d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 176 additions and 30 deletions

View file

@ -14,21 +14,28 @@ DOCUMENTATION = '''
module: say
short_description: Makes a computer to speak
description:
- makes a computer speak! Amuse your friends, annoy your coworkers!
- makes a computer speak! Amuse your friends, annoy your coworkers!
notes:
- In 2.5, this module has been renamed from C(osx_say) to M(community.general.say).
- If you like this module, you may also be interested in the osx_say callback plugin.
- A list of available voices, with language, can be found by running C(say -v ?) on a OSX host and C(espeak --voices) on a Linux host.
- In 2.5, this module has been renamed from C(osx_say) to M(community.general.say).
- If you like this module, you may also be interested in the osx_say callback plugin.
- A list of available voices, with language, can be found by running C(say -v ?) on a OSX host and C(espeak --voices) on a Linux host.
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: full
diff_mode:
support: none
options:
msg:
type: str
description:
What to say
- What to say.
required: true
voice:
type: str
description:
What voice to use
- What voice to use.
required: false
requirements: [ say or espeak or espeak-ng ]
author: