ansible/roles/vpn/handlers/main.yml
2021-04-23 09:16:33 +02:00

9 lines
199 B
YAML

---
# This is so uggly
- name: Restart wireguard for interface
systemd:
name: "wg-quick@{{ item.key }}"
state: restarted
loop:
- "{{ lookup('dict', vpn_interfaces) }}"
no_log: true