From 648501b7c02866c63f3aca82ee0bc4353a32a522 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Sat, 10 Oct 2026 13:35:34 -0700 Subject: [PATCH] llm, use pipefail on the final lint error. --- tasks/workstation/linux/software/llm.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tasks/workstation/linux/software/llm.yml b/tasks/workstation/linux/software/llm.yml index c06536a..b533764 100644 --- a/tasks/workstation/linux/software/llm.yml +++ b/tasks/workstation/linux/software/llm.yml @@ -567,7 +567,9 @@ - name: Workstation | Linux | Software | LLMs | Models | ollama | Get Models ansible.builtin.shell: - cmd: ollama ls | tail -n +2 | awk '{print $1}' + cmd: | + set -o pipefail + ollama ls | tail -n +2 | awk '{print $1}' register: llm_models changed_when: llm_models.rc == 0