zeroclaw, ensure run and log directories exist, refactor the pulled models.

This commit is contained in:
me
2026-10-07 00:34:42 -07:00
parent 393ff77eaf
commit 6fa3a42362
+28 -8
View File
@@ -28,6 +28,10 @@
ollama: ollama
llm_installs:
- qwen3.5:4b
#- qwen2.5-coder:0.5b
#- qwen2.5-coder:1.5b
#- qwen2.5-coder:3b
- qwen2.5-coder:7b
#- deepseek-r1:1.5b
#- deepseek-r1:7b
#- mistal:7b
@@ -35,14 +39,8 @@
#- ministral:8b
#- mistal:7b
#- glm4-flash
#- qwen3.5:4b
- qwen3:4b # most similar to Ask Brave
#- qwen2.5-coder:0.5b
#- qwen2.5-coder:1.5b
#- qwen2.5-coder:3b
#- qwen2.5-coder:7b
llm_removals:
- qwen2.5
- qwen3:4b # QWEN3 is the most similar to Ask Brave.
zerocode: zerocode
- name: Workstation | Linux | Software | ZeroClaw | Facts 02
@@ -74,7 +72,11 @@
- "{{ zerocode }}"
state: present
# Copy automatically creates any necessary directories.
- name: Workstation | Linux | Software | ZeroClaw | ollama | runit | Script | Dir
ansible.builtin.file:
name: "{{ ollama_runit_dir }}"
state: directory
- name: Workstation | Linux | Software | ZeroClaw | ollama | runit | Script
ansible.builtin.copy:
content: |
@@ -88,6 +90,12 @@
mode: "0755"
when: ansible_service_mgr == "runit"
- name: Workstation | Linux | Software | ZeroClaw | ollama | runit | Log | Dir
ansible.builtin.file:
name: "{{ ollama_runit_log_dir }}"
state: directory
owner: "{{ user }}"
- name: Workstation | Linux | Software | ZeroClaw | ollama | runit | Log | Script
ansible.builtin.copy:
content: |
@@ -103,6 +111,7 @@
s10000000 # rotate at 10 MB
n5 # keep 5 old files
dest: "{{ ollama_runit_log_config }}"
owner: "{{ user }}"
mode: "0755"
when: ansible_service_mgr == "runit"
@@ -112,6 +121,11 @@
state: started
enabled: true
- name: Workstation | Linux | Software | ZeroClaw | zeroclaw | runit | Script | Dir
ansible.builtin.file:
name: "{{ zeroclaw_runit_dir }}"
state: directory
- name: Workstation | Linux | Software | ZeroClaw | zeroclaw | runit | Script
ansible.builtin.copy:
content: |
@@ -123,6 +137,12 @@
mode: "0755"
when: ansible_service_mgr == "runit"
- name: Workstation | Linux | Software | ZeroClaw | zeroclaw | runit | Log | Dir
ansible.builtin.file:
name: "{{ zeroclaw_runit_log_dir }}"
state: directory
owner: "{{ user }}"
- name: Workstation | Linux | Software | ZeroClaw | zeroclaw | runit | Log | Script
ansible.builtin.copy:
content: |