feat : Add pause before sending Wake-on-LAN packet
Some checks failed
ansible-lint / Ansible Lint (push) Failing after 11s

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.
This commit is contained in:
2026-01-25 08:45:33 +01:00
parent d0774ff2b3
commit af4c561b3d

View File

@@ -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] }}"