llm, try doing pull-models a different way since it's been trhowing weird errors.

This commit is contained in:
me
2026-10-12 08:13:40 -07:00
parent d27d759c97
commit a3ba5e7a60
+2 -4
View File
@@ -545,14 +545,12 @@
marker: "# {mark} ANSIBLE MANAGED BLOCK | ollama | Manual Script" marker: "# {mark} ANSIBLE MANAGED BLOCK | ollama | Manual Script"
content: | content: |
function pull_llms() { function pull_llms() {
set -e
echo "Manually Pulling Models" echo "Manually Pulling Models"
{% for llm in llm_installs %} {% for llm in llm_installs %}
echo -e "\n\n Starting {{ llm.model }} \n\n" echo -e "\n\n Starting {{ llm.model }} \n\n"
ollama pull {{ llm.model }} || ollama pull {{ llm.model }}
status=$? &&
echo "ERROR: Pull failed with status $status, exiting." &&
return $status
{% endfor %} {% endfor %}
echo "Done!!" echo "Done!!"