https://github.com/cimon-io/ansible-role-mtproxy
Ansible Role for installing MTProxy (Telegram proxy)
https://github.com/cimon-io/ansible-role-mtproxy
ansible ansible-role mtproxy telegram-proxy
Last synced: about 2 months ago
JSON representation
Ansible Role for installing MTProxy (Telegram proxy)
- Host: GitHub
- URL: https://github.com/cimon-io/ansible-role-mtproxy
- Owner: cimon-io
- Created: 2018-06-01T08:04:05.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-01-29T20:20:31.000Z (over 7 years ago)
- Last Synced: 2025-05-21T08:48:45.328Z (about 1 year ago)
- Topics: ansible, ansible-role, mtproxy, telegram-proxy
- Homepage:
- Size: 10.7 KB
- Stars: 3
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://travis-ci.org/cimon-io/ansible-role-mtproxy)
MTProxy Ansible Role
=========
Install MTProxy from source
Requirements
------------
None.
Role Variables
--------------
```yaml
mtproxy_version: "master"
mtproxy_source: "https://github.com/TelegramMessenger/MTProxy.git"
mtproxy_source_path: "/usr/local/src/mtproxy"
mtproxy_config_path: "/etc/mtproxy"
mtproxy_service_name: "mtproxy"
mtproxy_service_enabled: True
# 0 - disabled
mtproxy_ipv6: False
mtproxy_max_special_connections: 0
mtproxy_http_ports: [8443]
mtproxy_slaves: 0
mtproxy_proxy_tag: ""
mtproxy_mtproto_secret: ""
mtproxy_ping_interval: 5
mtproxy_window_clamp: 0
mtproxy_backlog: 0
mtproxy_connections: 0
mtproxy_log: ""
mtproxy_port: 8888
mtproxy_user: "mtproxy"
mtproxy_verbosity: False
mtproxy_aes_pwd: "{{ mtproxy_config_path }}/proxy-secret"
mtproxy_config: "{{ mtproxy_config_path }}/proxy-multi.conf"
mtproxy_msg_buffers_size: 268435456
mtproxy_disable_tcp: False
mtproxy_crc32c: False
mtproxy_cpu_threads: 8
mtproxy_io_threads: 16
mtproxy_allow_skip_dh: False
mtproxy_force_dh: False
mtproxy_max_accept_rate: 0
mtproxy_max_dh_accept_rate: 0
mtproxy_multithread: False
mtproxy_tcp_cpu_threads: 0
mtproxy_tcp_iothreads: 0
mtproxy_nat_info: ""
mtproxy_address: ""
mtproxy_limit_nofile: 10000
mtproxy_config_update: True
```
Dependencies
------------
None.
Example Playbook
----------------
```
- hosts: servers
roles:
- role: cimon-io.mtproxy
```
License
-------
MIT