jellycsc.v2ray
Ansible Role: v2ray
This is an Ansible Role that sets up the V2Ray proxy on RHEL/CentOS, Debian/Ubuntu, and Arch Linux.
Default Configuration
Key | Value |
---|---|
Server IP | <your_server_ip> |
Protocol | Vmess |
Port | 50000 |
UUID | b831381d-6324-4d53-ad4f-8cda48b30811 |
AlterId | 4 |
Encryption | auto |
Tested Operating Systems
- Red Hat UBI 8
- CentOS 7
- CentOS 8
- Ubuntu 16.04
- Ubuntu 18.04
- Debian 8
- Debian 9
- Debian 10
Role Variables
You can specify your own config.json
file location:
v2ray_config_json_path: "path/to/config.json"
Dependencies
None.
Example Playbook
- hosts: proxy_servers
become: yes
vars_files:
- vars/main.yml
roles:
- { role: jellycsc.v2ray }
License
Author Information
This role was created by Chenjie Ni.