/
wg-test.yaml.example
41 lines (40 loc) · 1.16 KB
/
wg-test.yaml.example
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
# vim: expandtab ts=2 sw=2 softtabstop=2 filetype=yaml
- hosts:
- wg
roles:
- wgmesh
vars:
wg_mesh:
wg-test:
lport: 40001
netmask: 24
psk: Zqal570H9VMrgqGvwwCR+4YTHEVZvF1JfJ9NJKVvSnI=
domain: sillydomain
nodes:
host1:
ifaddr: 10.1.2.1
pubkey: YPMaSAFNjFYfkHvrGmvsKoDzxJ+cuuRkpnJBXwBVsSY=
lport: 40002
host2:
ifaddr: 10.1.2.2
pubkey: OVVrYkNqZkloeWF1YnBZSHR3eG1rcHM1Q1VHOTN6eDFOWVZFRWhBWFJ4MD0K
endpoint:
addr: server1.example.com
host3:
ifaddr: 10.1.2.3
pubkey: PqVUbQLsmciGTE2b3PnYVe+qaIApjY/dwHMYx4NqFgI=
lport: 40003
endpoint:
addr: server2.example.com
host4:
ifaddr: 10.1.2.4
pubkey: Cyhvdk3JbpKO+bvVRhXca0JwTok7RpHrlJODCFi2TgE=
endpoint:
addr: server3.example.com
port: 40004
host5:
ifaddr: 10.1.2.5
pubkey: Klo+yCXxjrpcCoFk+Gzsg0M2segqvM477Ng8UiCQRj4=
endpoint:
addr: 1.2.3.4
port: 40005