ansible/roles/vpn/handlers/main.yml

8 lines
206 B
YAML
Raw Normal View History

2021-04-22 23:09:49 +02:00
---
- name: Restart wireguard for interface
systemd:
name: "wg-quick@{{ item.key }}"
state: restarted
2022-07-21 18:27:55 +02:00
loop: "{{ vpn_interfaces | dict2items }}"
no_log: "{{ enable_no_log | default('true') }}"