refactor ♻️: Refactor WOL task to use localhost
Some checks failed
ansible-lint / Ansible Lint (push) Failing after 11s

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.
This commit is contained in:
2026-01-25 09:00:53 +01:00
parent d509a4946e
commit 44f9c8ffa9

View File

@@ -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