feat ✨: Add pause before sending Wake-on-LAN packet
Some checks failed
ansible-lint / Ansible Lint (push) Failing after 11s
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:
@@ -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] }}"
|
||||
|
||||
Reference in New Issue
Block a user