2025-12-14 20:37:14 +01:00
|
|
|
# ansible_proxmox_WOL
|
|
|
|
|
|
2025-12-14 20:46:32 +01:00
|
|
|
This Ansible role enables persistent Wake-on-LAN (WOL) on a Proxmox VE server.
|
|
|
|
|
|
|
|
|
|
## Variables
|
|
|
|
|
|
|
|
|
|
| Variable | Default | Description |
|
|
|
|
|
|--------|---------|-------------|
|
|
|
|
|
| wol_interface | eno1 | Network interface |
|
|
|
|
|
| wol_mode | g | WOL mode (magic packet) |
|
|
|
|
|
| wol_verify | true | Verify WOL status |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Requirements
|
|
|
|
|
|
|
|
|
|
Use the physical NIC, not vmbr0, unless your NIC supports WOL through the bridge
|
|
|
|
|
Common interfaces: eno1, enp3s0, eth0
|
|
|
|
|
Verify BIOS/UEFI: Enable Wake on LAN
|
|
|
|
|
Disable ErP / Deep Sleep
|
|
|
|
|
|
|
|
|
|
## Example Playbook
|
|
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
|
- hosts: proxmox
|
|
|
|
|
become: true
|
|
|
|
|
roles:
|
|
|
|
|
- role: ansible_proxmox_WOL
|
|
|
|
|
vars:
|
|
|
|
|
wol_interface: vmbr0
|