fix wireguard systemd start

This commit is contained in:
ace
2022-07-13 16:00:25 +03:00
parent 3084a0e59c
commit fb0ac44188
2 changed files with 25 additions and 1 deletions

View File

@ -10,3 +10,9 @@
name:
- kmod-wireguard
- wireguard-tools
- name: Enable wg-quick systemd unit
systemd:
name: wg-quick@{{ wireguard_ui_env['WGUI_CONFIG_FILE_PATH'] | basename | split('.') | first }}
enabled: yes
daemon_reload: yes