mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
win_wakeonlan: New module to send Wake-On-Lan packets (#26232)
This is the Windows implementation of the **wakeonlan** module. Useful if you want to wake up systems in a remote network with only Windows systems.
This commit is contained in:
parent
a66bd8f7c3
commit
52c1a1936d
5 changed files with 143 additions and 0 deletions
1
test/integration/targets/win_wakeonlan/aliases
Normal file
1
test/integration/targets/win_wakeonlan/aliases
Normal file
|
@ -0,0 +1 @@
|
|||
windows/ci/group2
|
9
test/integration/targets/win_wakeonlan/tasks/main.yml
Normal file
9
test/integration/targets/win_wakeonlan/tasks/main.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
- name: Send a magic Wake-on-LAN packet to 00:00:5E:00:53:66
|
||||
win_wakeonlan:
|
||||
mac: 00:00:5E:00:53:66
|
||||
broadcast: 192.0.2.255
|
||||
|
||||
- name: Send a magic Wake-On-LAN packet on port 9 to 00-00-5E-00-53-66
|
||||
win_wakeonlan:
|
||||
mac: 00-00-5E-00-53-66
|
||||
port: 9
|
Loading…
Add table
Add a link
Reference in a new issue