mirror of
https://gitea.0xace.cc/ansible-galaxy/wireguard-ui.git
synced 2025-04-06 01:01:56 +00:00
fix admin user
This commit is contained in:
parent
b3330ab0cb
commit
83f49eacd0
@ -19,9 +19,9 @@
|
|||||||
- "{{ wireguard_ui_config_dir }}"
|
- "{{ wireguard_ui_config_dir }}"
|
||||||
- "{{ wireguard_ui_config_dir }}/server"
|
- "{{ wireguard_ui_config_dir }}/server"
|
||||||
|
|
||||||
- name: Force login and password change
|
- name: Force login and password change for first admin user
|
||||||
template:
|
template:
|
||||||
dest: "{{ wireguard_ui_config_dir }}/users/users.json"
|
dest: "{{ wireguard_ui_config_dir }}/users/admin.json"
|
||||||
src: users.json.j2
|
src: users.json.j2
|
||||||
register: wireguard_ui_auth
|
register: wireguard_ui_auth
|
||||||
notify: Restart WireGuard UI with podman
|
notify: Restart WireGuard UI with podman
|
||||||
|
Loading…
x
Reference in New Issue
Block a user