diff --git a/tasks/workstation/linux/software/llm.yml b/tasks/workstation/linux/software/llm.yml index 86e4f17..5e2ffb9 100644 --- a/tasks/workstation/linux/software/llm.yml +++ b/tasks/workstation/linux/software/llm.yml @@ -545,14 +545,12 @@ 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" - ollama pull {{ llm.model }} || - status=$? && - echo "ERROR: Pull failed with status $status, exiting." && - return $status + ollama pull {{ llm.model }} {% endfor %} echo "Done!!"