-
Notifications
You must be signed in to change notification settings - Fork 0
/
v2ray.yml
45 lines (42 loc) · 975 Bytes
/
v2ray.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
- name: V2ray
hosts: selfhost
gather_facts: true
become: true
vars:
proxy_port: 8600
proxy_from: "127.0.0.1:{{ proxy_port }}"
vars_prompt:
- name: email_addr
prompt: "Email"
default: "[email protected]"
private: no
- name: domain_name
prompt: "Domain name"
default: "your.domain.example.com"
private: no
- name: v2ray_ver
prompt: "V2Ray version"
default: "4.45.2"
private: no
- name: v2ray_arch
prompt: "V2Ray arch"
default: "64"
private: no
roles:
- bootstrap
- professormanhattan.snapd
- role: certbot
email: "{{ email_addr }}"
domains:
- "{{ domain_name }}"
- role: nginx
domains:
proxy:
to: "{{ domain_name }}"
from: "{{ proxy_from }}"
srv_name: "v2ray"
- role: v2ray
app_ver: "{{ v2ray_ver }}"
app_arch: "{{ v2ray_arch }}"
app_port: "{{ proxy_port }}"