ansible/roles/vpn/handlers/main.yml
2022-07-21 15:19:24 +02:00

8 lines
177 B
YAML

---
- name: Restart wireguard for interface
systemd:
name: "wg-quick@{{ item.key }}"
state: restarted
loop:
- "{{ vpn_interfaces | dict2items }}"
no_log: true