From f3f3b46f1e12a5109d8da090efc577f9fc3740bd Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 10 Nov 2022 22:16:32 +0100 Subject: [PATCH] chore: skip waiting for connection if restart and reboot is disabled --- handlers/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/handlers/main.yml b/handlers/main.yml index f3b5adb..5857357 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -26,6 +26,7 @@ wait_for_connection: delay: 5 timeout: 300 + when: (require_reboot | bool) or (network_restart_enabled | bool) listen: - __network_restart - __host_reboot