feat : Enable Wake-on-LAN persistently

This commit introduces persistent Wake-on-LAN support for Proxmox VE via Ansible. It includes YAML configuration options for the interface, verification, and systemd service management, ensuring reliable functionality after Ansible role execution. The changes also address ignoring outputs and temporary files for a cleaner setup.
This commit is contained in:
2025-12-14 20:46:32 +01:00
parent 04f55958ba
commit 9bef606607
6 changed files with 109 additions and 1 deletions

9
handlers/main.yml Normal file
View File

@@ -0,0 +1,9 @@
---
- name: Reload systemd
command: systemctl daemon-reexec
- name: Enable and start WOL service
systemd:
name: wol.service
enabled: yes
state: started