summaryrefslogtreecommitdiff
path: root/test/integration/targets/win_wakeonlan
diff options
context:
space:
mode:
authorDag Wieers <dag@wieers.com>2017-07-09 23:15:22 +0200
committerJordan Borean <jborean93@gmail.com>2017-07-10 07:15:22 +1000
commit52c1a1936dda6fa55d4b9dde2af320fcc0ab4fd0 (patch)
treed758d793ef7c17dcad9316a626b0a512740f8d69 /test/integration/targets/win_wakeonlan
parenta66bd8f7c37f6f4c6ed6b9aef1ad1be47d51d016 (diff)
downloadansible-52c1a1936dda6fa55d4b9dde2af320fcc0ab4fd0.tar.gz
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.
Diffstat (limited to 'test/integration/targets/win_wakeonlan')
-rw-r--r--test/integration/targets/win_wakeonlan/aliases1
-rw-r--r--test/integration/targets/win_wakeonlan/tasks/main.yml9
2 files changed, 10 insertions, 0 deletions
diff --git a/test/integration/targets/win_wakeonlan/aliases b/test/integration/targets/win_wakeonlan/aliases
new file mode 100644
index 0000000000..ee0ed5974e
--- /dev/null
+++ b/test/integration/targets/win_wakeonlan/aliases
@@ -0,0 +1 @@
+windows/ci/group2
diff --git a/test/integration/targets/win_wakeonlan/tasks/main.yml b/test/integration/targets/win_wakeonlan/tasks/main.yml
new file mode 100644
index 0000000000..169362b002
--- /dev/null
+++ b/test/integration/targets/win_wakeonlan/tasks/main.yml
@@ -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