update to v0.6.2

This commit is contained in:
ace 2024-04-01 01:52:24 +03:00
parent fd0c675ce6
commit b3330ab0cb
Signed by: ace
GPG Key ID: 2C08973DD37A76FD
4 changed files with 9 additions and 8 deletions

View File

@ -5,7 +5,7 @@ wireguard_ui_network_mode: "host"
wireguard_ui_config_dir: "/opt/{{ wireguard_ui_container_name }}"
wireguard_ui_container_registry: "{{ container_registry | default(docker_registry) | default('docker.io') }}"
wireguard_ui_image_name: "ngoduykhanh/wireguard-ui"
wireguard_ui_image_tag: "0.4.0"
wireguard_ui_image_tag: "0.6.2"
wireguard_ui_systemd_unit_name: "{{ wireguard_ui_container_name }}.service"
wireguard_ui_watcher_systemd_service_unit_name: "{{ wireguard_ui_container_name }}-watcher.service"
wireguard_ui_watcher_systemd_path_unit_name: "{{ wireguard_ui_container_name }}-watcher.path"

View File

@ -11,8 +11,8 @@
volumes: "{{ wireguard_ui_volumes }}"
when:
- wireguard_ui_container_engine == 'docker'
- not wireguard_ui_container.changed
- not wireguard_ui_auth.changed
- wireguard_ui_container.changed
- wireguard_ui_auth.changed
- name: Restart WireGuard UI with podman
containers.podman.podman_container:
@ -26,5 +26,5 @@
volumes: "{{ wireguard_ui_volumes }}"
when:
- wireguard_ui_container_engine == 'podman'
- not wireguard_ui_container.changed
- not wireguard_ui_auth.changed
- wireguard_ui_container.changed
- wireguard_ui_auth.changed

View File

@ -21,7 +21,7 @@
- name: Force login and password change
template:
dest: "{{ wireguard_ui_config_dir }}/server/users.json"
dest: "{{ wireguard_ui_config_dir }}/users/users.json"
src: users.json.j2
register: wireguard_ui_auth
notify: Restart WireGuard UI with podman

View File

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