From d509a4946e69418b902f371c1b2a2bc4d834c864 Mon Sep 17 00:00:00 2001 From: Jose Date: Sun, 25 Jan 2026 08:59:22 +0100 Subject: [PATCH] =?UTF-8?q?refactor=20=E2=99=BB=EF=B8=8F:=20Remove=20unnec?= =?UTF-8?q?essary=20delegate=5Fto:=20localhost=20from=20WOL=20tasks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Refactored WOL task configuration by removing redundant 'delegate_to: localhost' directive to simplify and improve readability. --- tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 9abd79c..03c88d2 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -132,14 +132,14 @@ - name: Send WOL packet via shell ansible.builtin.shell: wakeonlan {{ wol_mac_addresses[0] }} - delegate_to: localhost +# delegate_to: localhost - name: Send Wake-on-LAN packet from localhost community.general.wakeonlan: mac: "{{ wol_mac_addresses[0] }}" port: "{{ wol_port }}" broadcast: 255.255.255.255 - delegate_to: localhost +# delegate_to: localhost - name: Wait for tcpdump to finish ansible.builtin.async_status: