Files
infra/ansible/roles/wireguard_overlay/handlers/main.yml
2026-09-12 17:19:20 +02:00

11 lines
273 B
YAML

---
- name: Restart WireGuard interface
tags: [wireguard, services]
ansible.builtin.systemd:
name: "wg-quick@{{ wireguard_interface }}.service"
state: restarted
daemon_reload: true
when:
- wireguard_overlay_enabled | bool
- not ansible_check_mode