From af4c561b3df73f4b885f72a66475b2e786c28b3a Mon Sep 17 00:00:00 2001 From: Jose Date: Sun, 25 Jan 2026 08:45:33 +0100 Subject: [PATCH] =?UTF-8?q?feat=20=E2=9C=A8:=20Add=20pause=20before=20send?= =?UTF-8?q?ing=20Wake-on-LAN=20packet?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This feature introduces a delay before sending a Wake-on-LAN (WoL) packet to ensure the network is ready, improving reliability and reducing potential issues during power-up. --- tasks/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tasks/main.yml b/tasks/main.yml index 16e7e4d..92960ea 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -124,6 +124,10 @@ async: 12 poll: 0 +- name: Give tcpdump time to start + ansible.builtin.pause: + seconds: 2 + - name: Send Wake-on-LAN packet from localhost community.general.wakeonlan: mac: "{{ wol_mac_addresses[0] }}"