From 44f9c8ffa92c580ebb30acc46f1580d12d9a5203 Mon Sep 17 00:00:00 2001 From: Jose Date: Sun, 25 Jan 2026 09:00:53 +0100 Subject: [PATCH] =?UTF-8?q?refactor=20=E2=99=BB=EF=B8=8F:=20Refactor=20WOL?= =?UTF-8?q?=20task=20to=20use=20localhost?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit refactors the existing WOL task by commenting out the original implementation and adding a new one that sends a Wake-on-LAN packet from localhost. --- tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 03c88d2..e1a2186 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -130,8 +130,8 @@ ansible.builtin.pause: seconds: 2 -- name: Send WOL packet via shell - ansible.builtin.shell: wakeonlan {{ wol_mac_addresses[0] }} +# - name: Send WOL packet via shell +# ansible.builtin.shell: wakeonlan {{ wol_mac_addresses[0] }} # delegate_to: localhost - name: Send Wake-on-LAN packet from localhost