diff --git a/tasks/RedHat/podman.yaml b/tasks/RedHat/podman.yaml index 618c9f1..1ee126c 100644 --- a/tasks/RedHat/podman.yaml +++ b/tasks/RedHat/podman.yaml @@ -22,7 +22,7 @@ - name: Force login and password change for first admin user template: dest: "{{ wireguard_ui_config_dir }}/users/admin.json" - src: users.json.j2 + src: admin.json.j2 register: wireguard_ui_auth notify: Restart WireGuard UI with podman diff --git a/templates/users.json.j2 b/templates/users.json.j2 deleted file mode 100644 index 1e2fe8e..0000000 --- a/templates/users.json.j2 +++ /dev/null @@ -1,5 +0,0 @@ -{ - "username": "{{ wireguard_ui_combined_env['WGUI_USERNAME'] }}", - "password": "{{ wireguard_ui_combined_env['WGUI_PASSWORD'] }}", - "admin": true -}