7 lines
206 B
YAML
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') }}"
|