infra/roles/wireguard/handlers/main.yml

10 lines
154 B
YAML

---
- name: systemctl daemon reload
command: systemctl daemon-reload
- name: restart wireguard
service:
name: wg-quick@wg0
state: restarted