Skip to content

Commit 45d4c92

Browse files
committed
roles: remove packagages on low_mem / low_flash
1 parent 6eab26d commit 45d4c92

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

roles/cfg_openwrt/tasks/conditional_packages.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,17 @@
7878
when: (low_mem | default(false) or low_flash | default(false)) and role != "corerouter"
7979
loop: "{{ all_luci_base__packages__to_merge }}"
8080

81+
- name: "Remove Luci packages on low mem and low flash not removed by the above"
82+
set_fact:
83+
packages: "{{ packages + [item] }}"
84+
when: low_mem | default(false) or low_flash | default(false)
85+
loop:
86+
- -luci-app-olsr
87+
- -luci-app-olsr-services
88+
- -luci-mod-falter
89+
- -luci-mod-admin-full
90+
- -luci-proto-ipv6
91+
- -luci-theme-bootstrap
8192

8293
- name: "Disable uhttpd on low mem"
8394
set_fact:

0 commit comments

Comments
 (0)