mirror of
https://gitea.0xace.cc/ansible-galaxy/wireguard-ui.git
synced 2024-11-24 15:26:41 +00:00
fix restart handler
This commit is contained in:
parent
1cd68d3b62
commit
ec6131ccd1
@ -11,7 +11,8 @@
|
||||
volumes: "{{ wireguard_ui_volumes }}"
|
||||
when:
|
||||
- wireguard_ui_container_engine == 'docker'
|
||||
- wireguard_ui_container.changed or wireguard_ui_auth.changed
|
||||
- not wireguard_ui_container.changed
|
||||
- wireguard_ui_auth.changed
|
||||
|
||||
- name: Restart WireGuard UI with podman
|
||||
containers.podman.podman_container:
|
||||
@ -25,4 +26,5 @@
|
||||
volumes: "{{ wireguard_ui_volumes }}"
|
||||
when:
|
||||
- wireguard_ui_container_engine == 'podman'
|
||||
- wireguard_ui_container.changed or wireguard_ui_auth.changed
|
||||
- not wireguard_ui_container.changed
|
||||
- wireguard_ui_auth.changed
|
||||
|
Loading…
Reference in New Issue
Block a user