diff --git a/tasks/workstation/linux/software/zeroclaw.yml b/tasks/workstation/linux/software/zeroclaw.yml index 39d1174..ac1078f 100644 --- a/tasks/workstation/linux/software/zeroclaw.yml +++ b/tasks/workstation/linux/software/zeroclaw.yml @@ -327,18 +327,30 @@ default_provider = "ollama" default_model = "qwen3.5:4b" provider_timeout_secs = 3600 + state: present + create: false + backup: true + 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: false + owner: "{{ user }}" + mode: "0644" - name: Workstation | Linux | Software | ZeroClaw | Models | ollama | Install ansible.builtin.shell: |