zeroclaw, move providers back after the installs so that they are accurate in the GUI.

This commit is contained in:
me
2026-10-07 11:33:51 -07:00
parent 934bec45b5
commit a511fdac35
+22 -22
View File
@@ -77,10 +77,10 @@
### TBD ### TBD
#- deepseek-r1:1.5b #- deepseek-r1:1.5b
#- deepseek-r1:7b #- deepseek-r1:7b
#- mistal:7b #- mistral:7b
#- ministral:3b #- ministral-3:3b
#- ministral:8b #- ministral-3:8b
#- mistal:7b #- ministral-3:14b
#- glm4-flash #- glm4-flash
- name: Workstation | Linux | Software | ZeroClaw | Facts 02 - name: Workstation | Linux | Software | ZeroClaw | Facts 02
@@ -333,24 +333,6 @@
owner: "{{ user }}" owner: "{{ user }}"
mode: "0644" 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 - name: Workstation | Linux | Software | ZeroClaw | Models | ollama | Install
ansible.builtin.shell: | ansible.builtin.shell: |
set -o pipefail set -o pipefail
@@ -393,4 +375,22 @@
become_user: "{{ user }}" become_user: "{{ user }}"
when: llm_removals | length > 0 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" when: ansible_pkg_mgr == "pacman"