From e95054d329c6c7ec7030402ff5eb4feb2fad02ee Mon Sep 17 00:00:00 2001 From: Hyperling Date: Sat, 10 Oct 2026 04:51:10 -0700 Subject: [PATCH] llm, use new variables provisioned for open-webui. --- tasks/workstation/linux/software/llm.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tasks/workstation/linux/software/llm.yml b/tasks/workstation/linux/software/llm.yml index b9b19ff..3b128f6 100644 --- a/tasks/workstation/linux/software/llm.yml +++ b/tasks/workstation/linux/software/llm.yml @@ -27,7 +27,7 @@ block: - name: Workstation | Linux | Software | LLMs | Facts | Provisioned - debug: + ansible.builtin.debug: var: "{{ item }}" loop: - ollama_enabled @@ -35,6 +35,8 @@ - zeroclaw_enabled - open_webui_enabled - open_webui_port + - open_webui_key + - hf_token - codium_config - name: Workstation | Linux | Software | LLMs | Facts 01 @@ -342,7 +344,8 @@ -p {{ open_webui_port }}:8080 \ --add-host=host.docker.internal:host-gateway \ -v open-webui:/app/backend/data \ - -e WEBUI_SECRET_KEY=7578094558f49cf38be40fc463cc0451 \ + {{ ("-e " ~ hf_token) if hf_token else '' }} \ + -e WEBUI_SECRET_KEY={{ open_webui_key }} \ -e OLLAMA_BASE_URL=http://host.docker.internal:11434 \ --name open-webui \ ghcr.io/open-webui/open-webui:main