ansible/roles/wireguard/handlers/main.yaml

7 lines
144 B
YAML

---
- name: restart wg-quick
systemd:
name: "wg-quick@{{ item }}"
state: restarted
loop: "{{ wireguard_interfaces.keys() | list }}"