zeroclaw, add explicit attributes to the blockinfile tasks.
This commit is contained in:
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user