https://github.com/akman/ansible-role-telegram
Setup online notifications by Telegram
https://github.com/akman/ansible-role-telegram
Last synced: 6 months ago
JSON representation
Setup online notifications by Telegram
- Host: GitHub
- URL: https://github.com/akman/ansible-role-telegram
- Owner: Akman
- License: mit
- Created: 2017-08-25T11:36:56.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-09-16T12:16:37.000Z (almost 8 years ago)
- Last Synced: 2025-04-03T01:19:13.666Z (about 1 year ago)
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ansible Role: telegram
Notify by Telegram on Linux.
## Requirements
None.
## Role Variables
Available variables are listed below, along with default values:
telegram_token: 'botXXXXXXXXX:YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY'
telegram_chat_id: 'ZZZZZZZZZ'
telegram_enabled: 'no'
telegram_message: ''
## Dependencies
None.
## Example Playbook
- hosts: all
roles:
- Akman.telegram
*Inside `vars/main.yml`*:
telegram_token: 'bot123456789:ABCDEFGHIJKLMNOPQRSTUVWXYZ123456789'
telegram_chat_id: '123456789'
telegram_enabled: 'yes'
telegram_message: 'Ok'
## License
MIT / BSD
## Author Information
This role was created in 2017 by Alexander Kapitman