This commit refactors the existing code for parsing Wake-on-LAN (WOL) status and introduces new functionality to enable WOL. The changes improve the clarity and efficiency of the WOL handling mechanism.
This feature introduces a new section in the build process that includes displaying Wake-On-LAN (WOL) status for each network interface. This allows users to easily monitor and manage WOL capabilities on their devices.
This refactoring improves the interface selection process and adds a loop to validate WOL (Wake-On-LAN) capabilities, enhancing system reliability and user experience.
This feature introduces a new task that allows users to view Wake-On-LAN (WOL) interfaces, enhancing the network management capabilities of the system.
Updated the code to utilize `ansible_facts.interfaces` for selecting network interfaces that start with 'en', improving readability and maintainability.
This feature introduces a new task that filters and processes interfaces whose names begin with the prefix 'en'. This enhancement allows for more targeted and efficient handling of specific interface types within our application.
Refactor the debug message in the playbook to use Jinja2 syntax for displaying `ansible_facts.interfaces`. This ensures that the output is more readable and consistent with other debug messages.
This commit introduces a new task in the Ansible playbook to identify physical network interface cards (NICs) that support Wake-on-LAN (WOL). This enhancement allows for more precise configuration and management of network devices.
The new playbook automates the setup of WOL on specified network interfaces, including gathering facts, identifying capable interfaces, mapping bridges to physical NICs, enabling WOL, and persisting configuration with udev rules. It also includes reporting and verification steps.
This refactoring improves the organization of tasks by using dedicated handlers for reloading udev rules and triggering network events, enhancing code readability and maintainability.
This commit adds a new `.ansible-lint` configuration file to specify which paths to exclude from linting and enables specific rules for better code quality.
Updated the README.md file to include detailed instructions on how to improve interface detection, add Ansible facts-based validation, and enhance troubleshooting guidance.
This commit refactors the task logic to improve the detection and reporting of Wake-on-LAN interfaces. It also removes redundant debug tasks to clean up the codebase.
This refactoring removes a redundant task that was previously used to detect physical network interfaces, simplifying the codebase and improving performance.
This commit refactors the task logic to accurately detect the physical NIC backing vmbr0 and updates the regular expression used for extracting relevant information. This ensures more precise and reliable network configuration management.
Refactored the task to improve code organization and clarity by extracting the process of selecting physical NIC candidates for the wol_bridge feature. This change enhances maintainability and readability.
This commit introduces a new feature that allows the display of `bridge_links` in the application. This enhancement provides users with additional information and functionality related to bridge links.
This refactoring updates the task logic to dynamically identify the physical network interface card (NIC) backing a bridge, while excluding interfaces of types tap and fw. This change enhances the flexibility and accuracy of network configuration detection.
Renamed `wol_interface` to `wol_bridge`, updated comments, and refactored task using `bridge link show` and `ethtool`. Added udev rules for persistence and set `Restart=always` for the service.
This commit refactors the handler to include functionality for reloading systemd and restarting the Wake-on-LAN (WOL) service, improving system management capabilities.
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.
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.
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`.
Refactored the routing configuration to remove a conditional debug task that was unnecessary for the default route, simplifying the code and improving performance.
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.