Compare commits

...
2 Commits
Author SHA1 Message Date
me 44b1bfd43a zeroclaw, add zerocode. 2026-10-06 15:43:54 -07:00
me 1d7374e3ad zeroclaw, add environment variable. 2026-10-06 15:43:41 -07:00
@@ -39,6 +39,7 @@
#- qwen3:4b # most similar to Ask Brave
llm_removals:
- qwen2.5
zerocode: zerocode
- name: Workstation | Linux | Software | ZeroClaw | Facts 02
ansible.builtin.set_fact:
@@ -48,19 +49,16 @@
- name: Workstation | Linux | Software | ZeroClaw | Facts 03
ansible.builtin.set_fact:
ollama_runit_start: "{{ ollama_runit_dir }}/{{ runit_service_script }}"
zeroclaw_runit_start: "{{ zeroclaw_runit_dir }}{{ runit_service_script }}n"
### TBD/TODO: Add to Env! (bash_profile, zprofile)
### OLLAMA_MAX_LOADED_MODELS=1
zeroclaw_runit_start: "{{ zeroclaw_runit_dir }}{{ runit_service_script }}"
- name: Workstation | Linux | Software | ZeroClaw | Install
ansible.builtin.package:
name:
- "{{ zeroclaw }}"
- "{{ ollama }}"
- "{{ zerocode }}"
state: present
- name: Workstation | Linux | Software | ZeroClaw | ollama | Script [runit]
ansible.builtin.shell: "{{ item }}"
loop:
@@ -68,6 +66,7 @@
- "echo '#!/bin/sh -e' > {{ ollama_runit_start }}"
- "echo '# Allow pulling LLMs for use with ZeroClaw.'>> {{ ollama_runit_start }}"
- "echo 'exec 2>&1' >> {{ ollama_runit_start }}"
- "echo 'export OLLAMA_MAX_LOADED_MODELS=1' >> {{ ollama_runit_start }}"
- "echo 'exec chpst -u {{ user }} ollama serve' >> {{ ollama_runit_start }}"
- "chmod +x {{ ollama_runit_start }}"
register: shell_check