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:
Dag Wieers
2017-07-07 11:52:02 +02:00
committed by John R Barker
parent 9a9b1db62b
commit f8982dcbd0
4 changed files with 35 additions and 25 deletions

View File

@@ -0,0 +1 @@
posix/ci/group2

View 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

View File

@@ -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