ansible/roles/vpn/handlers/main.yml
2021-04-23 19:14:28 +02:00

9 lines
200 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: false