ansible/roles/vpn/handlers/main.yml
2022-07-21 18:27:55 +02:00

7 lines
206 B
YAML

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