community.general.say – Makes a computer to speak.¶
Note
This plugin is part of the community.general collection (version 2.5.1).
To install it use: ansible-galaxy collection install community.general
.
To use it in a playbook, specify: community.general.say
.
Requirements¶
The below requirements are needed on the host that executes this module.
say or espeak or espeak-ng
Parameters¶
Parameter | Choices/Defaults | Comments |
---|---|---|
msg
string
/ required
|
What to say
|
|
voice
string
|
What voice to use
|
Notes¶
Note
In 2.5, this module has been renamed from
osx_say
to 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
say -v ?
on a OSX host andespeak --voices
on a Linux host.