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