llm, ensure removal and install arrayz keep their original values, don't just get reassigned.

This commit is contained in:
me committed 2026-11-09 20:40:06 -07:00
1 parent 5b668e97f4
commit e996cb9ef1
1 file changed
+2 -2
+2 -2
View File
@@ -211,9 +211,9 @@
- name: Workstation | Linux | Software | LLMs | Facts | Choices | Sort
ansible.builtin.set_fact:
llm_installs: >-
{{ llm_choices | selectattr('size_mb', 'le', ansible_memtotal_mb) | list }}
{{ llm_installs | union(llm_choices | selectattr('size_mb', 'le', ansible_memtotal_mb) | list) }}
llm_removals: >-
{{ llm_choices | selectattr('size_mb', 'gt', ansible_memtotal_mb) | list }}
{{ llm_removals | union(llm_choices | selectattr('size_mb', 'gt', ansible_memtotal_mb) | list) }}
- name: Workstation | Linux | Software | LLMs | Facts | Merge | Print
ansible.builtin.debug: