DEPRECATION WARNING: This role is no longer supported. Please use this collection instead.
Integrates Telegram Torrent Bot with Transmission bittorrent client.
Thus, you'll be able to search for torrents and download them to your server using Telegram on your cell phone.
- systemd
All variables which can be overridden are stored in defaults/main.yml file as well as in table below.
Name | Default Value | Description |
---|---|---|
telegram_token |
Telegram bot token, get it from @BotFather | |
rutracker_host |
https://rutracker.org | You can set your own rutracker mirror here. |
rutracker_username |
Username for access to rutracker.org | |
rutracker_password |
Password for access to rutracker.org | |
allowed_users |
"" | Comma-separated list of users, with whom the bot will work. If empty, the bot will respond to any user. |
proxy_telegram |
false | Should the bot use proxy to access Telegram servers |
proxy_rutracker |
false | Should the bot use proxy to access rutracker.org |
proxy_protocol |
http | Possible values: http, https, socks5 |
proxy_host |
127.0.0.1 | Proxy host |
proxy_port |
8080 | Proxy port |
proxy_username |
"" | Proxy username |
proxy_password |
"" | Proxy password |
transmission_settings |
{} | Json with custom settings that will be applied to Transmission's settings.json |
Fill in your telegram bot token (get it from @BotFather telegram bot) and credentials for rutracker.org.
- hosts: all
roles:
- role: fertkir.tg_torrent_bot_transmission
vars:
telegram_token: <your_telegram_token_here>
rutracker_username: <rutracker_username>
rutracker_password: <rutracker_password>
transmission_settings: { 'rpc-whitelist-enabled': false, 'rpc-authentication-required': false }
This project is licensed under GNU General Public License v3.0. See LICENSE for more details.