From a511fdac35d1c783a502b9427ad5090c4a633d62 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Wed, 7 Oct 2026 11:33:51 -0700 Subject: [PATCH] zeroclaw, move providers back after the installs so that they are accurate in the GUI. --- tasks/workstation/linux/software/zeroclaw.yml | 44 +++++++++---------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/tasks/workstation/linux/software/zeroclaw.yml b/tasks/workstation/linux/software/zeroclaw.yml index ee1edcf..dde61dc 100644 --- a/tasks/workstation/linux/software/zeroclaw.yml +++ b/tasks/workstation/linux/software/zeroclaw.yml @@ -77,10 +77,10 @@ ### TBD #- deepseek-r1:1.5b #- deepseek-r1:7b - #- mistal:7b - #- ministral:3b - #- ministral:8b - #- mistal:7b + #- mistral:7b + #- ministral-3:3b + #- ministral-3:8b + #- ministral-3:14b #- glm4-flash - name: Workstation | Linux | Software | ZeroClaw | Facts 02 @@ -333,24 +333,6 @@ owner: "{{ user }}" mode: "0644" - # Cheat Sheet: https://docs.zeroclaw.com/master/en/providers/configuration.html - - name: Workstation | Linux | Software | ZeroClaw | Models | zeroclaw | Add Providers - ansible.builtin.blockinfile: - path: "{{ user_user.home }}/.zeroclaw/config.toml" - marker: "# {mark} ANSIBLE MANAGED BLOCK | zeroclaw | Providers" - insertafter: EOF - block: | - {% for llm in llm_installs %} - [providers.models.ollama.ansible_{{ llm.provider }}] - model = "{{ llm.model }}" - timeout_secs = 3600 # 1 hour, default is 120 (2 minutes), issue happens between 5 and 6 minutes though. - {% endfor %} - state: present - create: false - backup: true - owner: "{{ user }}" - mode: "0644" - - name: Workstation | Linux | Software | ZeroClaw | Models | ollama | Install ansible.builtin.shell: | set -o pipefail @@ -393,4 +375,22 @@ become_user: "{{ user }}" when: llm_removals | length > 0 + # Cheat Sheet: https://docs.zeroclaw.com/master/en/providers/configuration.html + - name: Workstation | Linux | Software | ZeroClaw | Models | zeroclaw | Add Providers + ansible.builtin.blockinfile: + path: "{{ user_user.home }}/.zeroclaw/config.toml" + marker: "# {mark} ANSIBLE MANAGED BLOCK | zeroclaw | Providers" + insertafter: EOF + block: | + {% for llm in llm_installs %} + [providers.models.ollama.ansible_{{ llm.provider }}] + model = "{{ llm.model }}" + timeout_secs = 3600 # 1 hour, default is 120 (2 minutes), issue happens between 5 and 6 minutes though. + {% endfor %} + state: present + create: false + backup: true + owner: "{{ user }}" + mode: "0644" + when: ansible_pkg_mgr == "pacman"