first commit

This commit is contained in:
Nikita Simonov
2026-05-28 13:08:52 +04:00
commit 64e5afd148
5 changed files with 58 additions and 0 deletions

21
README.md Normal file
View File

@@ -0,0 +1,21 @@
# WireGuard ansible role
Configure wireguard
## Usega
Configure the role
```yml
wireguard_interfaces:
wg01:
interface:
Address: 10.0.0.1
ListenPort: 51820
PrivateKey: "{{ wireguard_private_key }}"
peers:
- AllowedIPs: 10.0.0.0/24
PublicKey: "{{ wireguard_public_key }}"
Endpoint: 1.1.1.1:51820
PersistentKeepalive: 25
'''