mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00: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:
committed by
John R Barker
parent
9a9b1db62b
commit
f8982dcbd0
1
test/integration/targets/wakeonlan/aliases
Normal file
1
test/integration/targets/wakeonlan/aliases
Normal file
@@ -0,0 +1 @@
|
||||
posix/ci/group2
|
||||
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
|
||||
@@ -474,7 +474,6 @@ lib/ansible/modules/remote_management/hpilo/hpilo_boot.py
|
||||
lib/ansible/modules/remote_management/hpilo/hpilo_facts.py
|
||||
lib/ansible/modules/remote_management/hpilo/hponcfg.py
|
||||
lib/ansible/modules/remote_management/stacki/stacki_host.py
|
||||
lib/ansible/modules/remote_management/wakeonlan.py
|
||||
lib/ansible/modules/source_control/bzr.py
|
||||
lib/ansible/modules/source_control/gitlab_group.py
|
||||
lib/ansible/modules/source_control/gitlab_project.py
|
||||
|
||||
Reference in New Issue
Block a user