VPN setting

This commit is contained in:
git
2024-04-04 08:46:10 +02:00
parent 55167e20fc
commit b8369d0b28
17 changed files with 308 additions and 81 deletions

View File

@@ -0,0 +1,15 @@
---
- name: Copy config
template:
src: ../templates/wireguardserver.conf
dest: /etc/wireguard/wireguardserver.conf
owner: root
group: root
mode: '0644'
notify: wireguard-server restart
- name: Start and enabled
ansible.builtin.service:
name: wg-quick@wireguardserver
state: started
enabled: true