llm, ensure removal and install arrayz keep their original values, don't just get reassigned.
This commit is contained in:
1 parent
5b668e97f4
commit
e996cb9ef1
1 file changed
+2
-2
@@ -211,9 +211,9 @@
|
|||||||
- name: Workstation | Linux | Software | LLMs | Facts | Choices | Sort
|
- name: Workstation | Linux | Software | LLMs | Facts | Choices | Sort
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
llm_installs: >-
|
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_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
|
- name: Workstation | Linux | Software | LLMs | Facts | Merge | Print
|
||||||
ansible.builtin.debug:
|
ansible.builtin.debug:
|
||||||
|
|||||||
Reference in new issue
Block a user