fix admin user template

This commit is contained in:
ace 2024-04-01 01:59:09 +03:00
parent 83f49eacd0
commit 90312a80c9
Signed by: ace
GPG Key ID: 2C08973DD37A76FD
2 changed files with 1 additions and 6 deletions

View File

@ -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

View File

@ -1,5 +0,0 @@
{
"username": "{{ wireguard_ui_combined_env['WGUI_USERNAME'] }}",
"password": "{{ wireguard_ui_combined_env['WGUI_PASSWORD'] }}",
"admin": true
}