From ec6131ccd13018387f093c74f9c4f353adbeb6c1 Mon Sep 17 00:00:00 2001 From: ace Date: Mon, 1 Apr 2024 04:03:30 +0300 Subject: [PATCH] fix restart handler --- handlers/main.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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