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.
This commit is contained in:
2025-12-21 14:50:50 +01:00
parent 918caea5f5
commit 000c0749a3

View File

@@ -18,7 +18,6 @@
- name: Debug default route interface
ansible.builtin.debug:
msg: "Detected default route: {{ wol_detected_interface }}"
when: wol_interface | length == 0
- name: Validate detected interface is physical
ansible.builtin.set_fact: