New in version 2.2.
Send notifications via telegram bot, to a verified group or user
parameter | required | default | choices | comments |
---|---|---|---|---|
chat_id | yes | Telegram group or user chat_id |
||
msg | yes | What message you wish to send. |
||
token | yes | Token identifying your telegram bot. |
send a message to chat in playbook - telegram: token=bot9999999:XXXXXXXXXXXXXXXXXXXXXXX chat_id=000000 msg="Ansible task finished"
Common return values are documented here Common Return Values, the following are the fields unique to this module:
name | description | returned | type | sample |
---|---|---|---|---|
msg | The message you attempted to send | success | string | Ansible task finished |
Note
You will require a telegram account and create telegram bot to use this module.
For more information on what this means please read Extras Modules
For help in developing on modules, should you be so inclined, please read Community Information & Contributing, developing_test_pr and Developing Modules.
© 2012–2016 Michael DeHaan
© 2016 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/telegram_module.html