September 2018
Beginner to intermediate
214 pages
5h 53m
English
Just like the Linux host's Wake-on-LAN module, this module will start to shut down Windows hosts using their MAC addresses. An example Playbook is as follows:
- name: start powered off Windows hosts win_wakeonlan: mac: "{{ hostvars[inventory_hostname].ansible_default_ipv4.macaddress }}" port: 8 delegate_to: remote_system
This module will send a Wake-on-LAN magic packet to the specific MAC addressed. Only the hosts who are configured to accept the packet will respond. A BIOS or OS configuration to enable Wake-on-LAN is required.
Read now
Unlock full access