adc/ansible/roles/wg_vpn/tasks/posttasks_ios.yml

12 lines
336 B
YAML
Raw Normal View History

2020-01-05 00:13:19 +00:00
- name: (local) fill out the rest of the wg0.conf file
blockinfile:
path: ~/wireguard/ios.conf
block: |
Address = 10.200.219.10/32, fd86:ea04:1115::10/128
DNS = 1.1.1.1
[Peer]
PublicKey = {{ server_publickey.stdout }}
Endpoint = vpn.awful.club:51820
AllowedIPs = 0.0.0.0/0, ::/0