Skip to content

Commit

Permalink
roles: remove all luci/uhttp packagages on low_mem / low_flash
Browse files Browse the repository at this point in the history
  • Loading branch information
Noki committed Dec 20, 2024
1 parent 0a7e88a commit 53e7411
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions roles/cfg_openwrt/tasks/conditional_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,22 @@
when: (low_mem | default(false) or low_flash | default(false)) and role != "corerouter"
loop: "{{ all_luci_base__packages__to_merge }}"

- name: "Remove Luci packages on low mem and low flash not removed by the above"
set_fact:
packages: "{{ packages + [item] }}"
when: low_mem | default(false) or low_flash | default(false)
loop:
- -luci-app-olsr
- -luci-app-olsr-services
- -luci-mod-falter
- -luci-app-falter-owm-ant
- -luci-app-falter-owm-cmd
- -luci-app-falter-owm-gui
- -luci-mod-admin-full
- -luci-proto-ipv6
- -luci-theme-bootstrap
- -uhttpd
- -uhttpd-mod-ubus

- name: "Disable uhttpd on low mem"
set_fact:
Expand Down

0 comments on commit 53e7411

Please sign in to comment.