homeserver-iac/roles/wireguard/handlers/main.yml

10 lines
159 B
YAML

---
- name: Start wireguard
systemd:
name: "wg-quick@{{ wireguard.interface }}.service"
enabled: yes
daemon_reload: yes
state: restarted