From 883ad223c26891716efcd69cb093845182b62918 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Mon, 12 Oct 2026 08:40:07 -0700 Subject: [PATCH] llm, further simplify the pull-llm function so that it never exits prematurely or kills the terminal session. --- tasks/workstation/linux/software/llm.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tasks/workstation/linux/software/llm.yml b/tasks/workstation/linux/software/llm.yml index 15213fe..48f6ae5 100644 --- a/tasks/workstation/linux/software/llm.yml +++ b/tasks/workstation/linux/software/llm.yml @@ -545,14 +545,13 @@ marker: "# {mark} ANSIBLE MANAGED BLOCK | ollama | Manual Script" content: | function pull_llms() { - set -e echo "Manually Pulling Models" {% for llm in llm_installs %} - echo -e "\n\n Starting {{ llm.model }} \n\n" - set -x + echo -e "\n\n Starting 'ollama pull {{ llm.model }}' \n\n" ollama pull {{ llm.model }} - set +x + status=$? + echo "Finished with status $status." {% endfor %} echo "Done!!"