mirror of
https://gitea.0xace.cc/ansible-galaxy/wireguard-ui.git
synced 2024-11-24 23:36:41 +00:00
update to v0.6.2
This commit is contained in:
parent
fd0c675ce6
commit
b3330ab0cb
@ -5,7 +5,7 @@ wireguard_ui_network_mode: "host"
|
|||||||
wireguard_ui_config_dir: "/opt/{{ wireguard_ui_container_name }}"
|
wireguard_ui_config_dir: "/opt/{{ wireguard_ui_container_name }}"
|
||||||
wireguard_ui_container_registry: "{{ container_registry | default(docker_registry) | default('docker.io') }}"
|
wireguard_ui_container_registry: "{{ container_registry | default(docker_registry) | default('docker.io') }}"
|
||||||
wireguard_ui_image_name: "ngoduykhanh/wireguard-ui"
|
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_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_service_unit_name: "{{ wireguard_ui_container_name }}-watcher.service"
|
||||||
wireguard_ui_watcher_systemd_path_unit_name: "{{ wireguard_ui_container_name }}-watcher.path"
|
wireguard_ui_watcher_systemd_path_unit_name: "{{ wireguard_ui_container_name }}-watcher.path"
|
||||||
|
@ -11,8 +11,8 @@
|
|||||||
volumes: "{{ wireguard_ui_volumes }}"
|
volumes: "{{ wireguard_ui_volumes }}"
|
||||||
when:
|
when:
|
||||||
- wireguard_ui_container_engine == 'docker'
|
- wireguard_ui_container_engine == 'docker'
|
||||||
- not wireguard_ui_container.changed
|
- wireguard_ui_container.changed
|
||||||
- not wireguard_ui_auth.changed
|
- wireguard_ui_auth.changed
|
||||||
|
|
||||||
- name: Restart WireGuard UI with podman
|
- name: Restart WireGuard UI with podman
|
||||||
containers.podman.podman_container:
|
containers.podman.podman_container:
|
||||||
@ -26,5 +26,5 @@
|
|||||||
volumes: "{{ wireguard_ui_volumes }}"
|
volumes: "{{ wireguard_ui_volumes }}"
|
||||||
when:
|
when:
|
||||||
- wireguard_ui_container_engine == 'podman'
|
- wireguard_ui_container_engine == 'podman'
|
||||||
- not wireguard_ui_container.changed
|
- wireguard_ui_container.changed
|
||||||
- not wireguard_ui_auth.changed
|
- wireguard_ui_auth.changed
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
- name: Force login and password change
|
- name: Force login and password change
|
||||||
template:
|
template:
|
||||||
dest: "{{ wireguard_ui_config_dir }}/server/users.json"
|
dest: "{{ wireguard_ui_config_dir }}/users/users.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
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
"username": "{{ wireguard_ui_combined_env['WGUI_USERNAME'] }}",
|
"username": "{{ wireguard_ui_combined_env['WGUI_USERNAME'] }}",
|
||||||
"password": "{{ wireguard_ui_combined_env['WGUI_PASSWORD'] }}"
|
"password": "{{ wireguard_ui_combined_env['WGUI_PASSWORD'] }}",
|
||||||
|
"admin": true
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user