diff --git a/roles/cfg_openwrt/tasks/conditional_packages.yml b/roles/cfg_openwrt/tasks/conditional_packages.yml index e14cff1b..c1a4c105 100644 --- a/roles/cfg_openwrt/tasks/conditional_packages.yml +++ b/roles/cfg_openwrt/tasks/conditional_packages.yml @@ -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: