ansible/roles/vpn/handlers/main.yml

10 lines
199 B
YAML
Raw Normal View History

2021-04-22 23:09:49 +02:00
---
2021-04-23 00:44:49 +02:00
# This is so uggly
2021-04-23 09:16:33 +02:00
- name: Restart wireguard for interface
2021-04-22 23:09:49 +02:00
systemd:
2021-04-23 09:16:33 +02:00
name: "wg-quick@{{ item.key }}"
state: restarted
2021-04-23 00:40:31 +02:00
loop:
2021-04-23 09:16:33 +02:00
- "{{ lookup('dict', vpn_interfaces) }}"
no_log: true