feat(ansible): Enable WLAN LED on dlink
This commit is contained in:
@@ -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
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user