16 lines
401 B
YAML
16 lines
401 B
YAML
- name: (local) fill out the rest of the wg0.conf file
|
|
blockinfile:
|
|
path: ~/wireguard/wg0.conf
|
|
block: |
|
|
Address = 10.200.219.19/32, fd86:ea04:1115::19/128
|
|
DNS = 1.1.1.1
|
|
|
|
[Peer]
|
|
PublicKey = {{ server_publickey.stdout }}
|
|
Endpoint = vpn.awful.club:51820
|
|
AllowedIPs = 0.0.0.0/0, ::/0
|
|
|
|
# - name: (local) bring wg up on local
|
|
# shell: wg-quick up wg0
|
|
|