feat(ansible): Enable WLAN LED on dlink

This commit is contained in:
2026-05-14 15:09:26 +02:00
parent da3f9a688c
commit dd559ade43
2 changed files with 23 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
---
- name: Set WLAN WiFi LED to trigger on IoT net dev
community.openwrt.uci:
command: set
key: system.led_wifi_led.dev
value: phy0-ap0 # IoT network
- name: Set WLAN WiFi LED triggers
community.openwrt.uci:
command: set
key: system.led_wifi_led.mode
value:
- link
- tx
- rx
- name: Commit LED config
community.openwrt.uci:
command: commit
key: system
+3
View File
@@ -14,6 +14,9 @@
- name: Wireless configuration - name: Wireless configuration
ansible.builtin.import_tasks: wireless.yml ansible.builtin.import_tasks: wireless.yml
- name: LED configuration
ansible.builtin.import_tasks: led.yml
- name: Package management - name: Package management
ansible.builtin.import_tasks: packages.yml ansible.builtin.import_tasks: packages.yml
when: openwrt_packages | length > 0 when: openwrt_packages | length > 0