diff --git a/handlers/main.yaml b/handlers/main.yaml index 226f771..b5cdbaa 100644 --- a/handlers/main.yaml +++ b/handlers/main.yaml @@ -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