mirror of
https://gitea.0xace.cc/ansible-galaxy/wireguard-ui.git
synced 2024-11-24 15:26:41 +00:00
fix default admin user creation
This commit is contained in:
parent
8dc462d7a8
commit
5e4e311fba
@ -22,7 +22,7 @@
|
||||
|
||||
- name: Force login and password change for first admin user
|
||||
template:
|
||||
dest: "{{ wireguard_ui_config_dir }}/users/admin.json"
|
||||
dest: "{{ wireguard_ui_config_dir }}/users/{{ wireguard_ui_combined_env['WGUI_USERNAME'] }}.json"
|
||||
src: admin.json.j2
|
||||
register: wireguard_ui_auth
|
||||
notify: Restart WireGuard UI with podman
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
- name: Force login and password change for first admin user
|
||||
template:
|
||||
dest: "{{ wireguard_ui_config_dir }}/users/admin.json"
|
||||
dest: "{{ wireguard_ui_config_dir }}/users/{{ wireguard_ui_combined_env['WGUI_USERNAME']}}.json"
|
||||
src: admin.json.j2
|
||||
register: wireguard_ui_auth
|
||||
notify: Restart WireGuard UI with podman
|
||||
|
Loading…
Reference in New Issue
Block a user