Files
Athul Cyriac Ajay 0aafeb6d97 feat(VPN): Add End to End Wireguard Setup
Add Wireguard configs and ansible playbooks. Added Wireguard Peer doctype for adding wireguard peers
2023-08-25 12:23:41 +05:30

13 lines
242 B
YAML

---
- name: Regenerate Wireguard Config
template:
src: wg.conf
dest: /etc/wireguard/wg0.conf
owner: root
group: root
mode: 0600
- name: Reload Wireguard with systemd
systemd:
name: wg-quick@wg0
state: reloaded