mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07:00
wakeonlan: Add integration tests and improvements (#26254)
This PR includes: - Checkmode improvements - Integration tests - A fix for python3 - PEP8 fixes This backports improvements from the win_wakeonlan module.
This commit is contained in:
parent
9a9b1db62b
commit
f8982dcbd0
4 changed files with 35 additions and 25 deletions
9
test/integration/targets/wakeonlan/tasks/main.yml
Normal file
9
test/integration/targets/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
|
||||
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
|
||||
wakeonlan:
|
||||
mac: 00-00-5E-00-53-66
|
||||
port: 9
|
Loading…
Add table
Add a link
Reference in a new issue