mirror of
https://gitea.0xace.cc/ansible-galaxy/wireguard-ui.git
synced 2025-07-16 21:23:07 +00:00
fix wireguard systemd start
This commit is contained in:
@ -25,7 +25,7 @@
|
||||
include_tasks: "{{ ansible_facts['os_family'] }}/main.yaml"
|
||||
tags: wireguard_ui_install
|
||||
|
||||
- name: Enable and start WireGuard UI services
|
||||
- name: Enable and start WireGuard UI
|
||||
systemd:
|
||||
daemon_reload: true
|
||||
name: "{{ item }}"
|
||||
@ -34,8 +34,26 @@
|
||||
masked: no
|
||||
loop:
|
||||
- "{{ wireguard_ui_systemd_unit_name }}"
|
||||
|
||||
- name: Enable WireGuard UI watcher services
|
||||
systemd:
|
||||
daemon_reload: true
|
||||
name: "{{ item }}"
|
||||
enabled: true
|
||||
masked: no
|
||||
loop:
|
||||
- "{{ wireguard_ui_watcher_systemd_service_unit_name }}"
|
||||
- "{{ wireguard_ui_watcher_systemd_path_unit_name }}"
|
||||
|
||||
- name: Enable WireGuard UI path watcher service
|
||||
systemd:
|
||||
daemon_reload: true
|
||||
name: "{{ item }}"
|
||||
enabled: true
|
||||
state: started
|
||||
masked: no
|
||||
loop:
|
||||
- "{{ wireguard_ui_watcher_systemd_path_unit_name }}"
|
||||
|
||||
tags: wireguard_ui_start
|
||||
|
||||
|
Reference in New Issue
Block a user