9 lines
197 B
YAML
9 lines
197 B
YAML
---
|
|
- name: Restart WireGuard
|
|
ansible.builtin.service:
|
|
name: "wg-quick@{{ wireguard_interface }}"
|
|
daemon_reload: True
|
|
enabled: True
|
|
state: restarted
|
|
listen: __wireguard_restart
|