xoxys.wireguard/handlers/main.yml

9 lines
197 B
YAML
Raw Permalink Normal View History

2022-10-11 07:32:13 +00:00
---
- name: Restart WireGuard
2024-02-18 19:45:29 +00:00
ansible.builtin.service:
2022-10-11 07:32:13 +00:00
name: "wg-quick@{{ wireguard_interface }}"
daemon_reload: True
enabled: True
state: restarted
listen: __wireguard_restart