Commit Graph

10 Commits

Author SHA1 Message Date
724d67982a refactor ♻️: Refactor handler to reload systemd and restart WOL service.
This commit refactors the handler to include functionality for reloading systemd and restarting the Wake-on-LAN (WOL) service, improving system management capabilities.
2025-12-21 21:40:27 +01:00
7f86cae2ed refactor ♻️: Refactor task to detect physical NIC enslaved to bridge and add debug facts
This refactoring improves the task by detecting which physical network interface card (NIC) is enslaved to a bridge and adds debug facts for better visibility during execution.
2025-12-21 19:47:24 +01:00
8af1f7fd12 refactor ♻️: Refactor task to detect physical NIC behind bridge
This refactoring involves restructuring the code to improve the detection mechanism for identifying the physical network interface card (NIC) that lies behind a bridge. The changes enhance the accuracy and efficiency of the task, making it more reliable in various network configurations.
2025-12-21 18:58:06 +01:00
e531859ead refactor ♻️: Refactor debug tasks for WoL interface selection
Removed redundant debug tasks and added a new task specifically for selecting the WoL interface.
2025-12-21 18:49:25 +01:00
ae7ed6a894 refactor ♻️: Refactor task logic for detecting and validating physical NICs enslaved to a bridge
This commit refactors the task logic to include detection and validation of physical NICs enslaved to a bridge, selects the final WoL interface, and updates debug and failure messages accordingly. It also adds variables for detected bridge and PHY in `defaults/main.yml`.
2025-12-21 18:23:12 +01:00
000c0749a3 refactor ♻️: Remove conditional debug task for default route
Refactored the routing configuration to remove a conditional debug task that was unnecessary for the default route, simplifying the code and improving performance.
2025-12-21 14:50:50 +01:00
918caea5f5 feat : Add debug task to log detected default route interface
Introduce a new debug task that logs the detected default route interface, enhancing network diagnostics and troubleshooting capabilities.
2025-12-21 14:47:36 +01:00
efd44fcbc8 feat : Add support for Wake-on-LAN
Enables Wake-on-LAN by setting `wol_interface` to an empty string and enables MAC address reporting.
2025-12-14 21:28:45 +01:00
9bef606607 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.
2025-12-14 20:46:32 +01:00
04f55958ba Initial commit 2025-12-14 20:37:14 +01:00