Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
44b1bfd43a | ||
|
|
1d7374e3ad |
@@ -39,6 +39,7 @@
|
|||||||
#- qwen3:4b # most similar to Ask Brave
|
#- qwen3:4b # most similar to Ask Brave
|
||||||
llm_removals:
|
llm_removals:
|
||||||
- qwen2.5
|
- qwen2.5
|
||||||
|
zerocode: zerocode
|
||||||
|
|
||||||
- name: Workstation | Linux | Software | ZeroClaw | Facts 02
|
- name: Workstation | Linux | Software | ZeroClaw | Facts 02
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
@@ -48,19 +49,16 @@
|
|||||||
- name: Workstation | Linux | Software | ZeroClaw | Facts 03
|
- name: Workstation | Linux | Software | ZeroClaw | Facts 03
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
ollama_runit_start: "{{ ollama_runit_dir }}/{{ runit_service_script }}"
|
ollama_runit_start: "{{ ollama_runit_dir }}/{{ runit_service_script }}"
|
||||||
zeroclaw_runit_start: "{{ zeroclaw_runit_dir }}{{ runit_service_script }}n"
|
zeroclaw_runit_start: "{{ zeroclaw_runit_dir }}{{ runit_service_script }}"
|
||||||
|
|
||||||
### TBD/TODO: Add to Env! (bash_profile, zprofile)
|
|
||||||
### OLLAMA_MAX_LOADED_MODELS=1
|
|
||||||
|
|
||||||
- name: Workstation | Linux | Software | ZeroClaw | Install
|
- name: Workstation | Linux | Software | ZeroClaw | Install
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
name:
|
name:
|
||||||
- "{{ zeroclaw }}"
|
- "{{ zeroclaw }}"
|
||||||
- "{{ ollama }}"
|
- "{{ ollama }}"
|
||||||
|
- "{{ zerocode }}"
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
|
|
||||||
- name: Workstation | Linux | Software | ZeroClaw | ollama | Script [runit]
|
- name: Workstation | Linux | Software | ZeroClaw | ollama | Script [runit]
|
||||||
ansible.builtin.shell: "{{ item }}"
|
ansible.builtin.shell: "{{ item }}"
|
||||||
loop:
|
loop:
|
||||||
@@ -68,6 +66,7 @@
|
|||||||
- "echo '#!/bin/sh -e' > {{ ollama_runit_start }}"
|
- "echo '#!/bin/sh -e' > {{ ollama_runit_start }}"
|
||||||
- "echo '# Allow pulling LLMs for use with ZeroClaw.'>> {{ ollama_runit_start }}"
|
- "echo '# Allow pulling LLMs for use with ZeroClaw.'>> {{ ollama_runit_start }}"
|
||||||
- "echo 'exec 2>&1' >> {{ 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 }}"
|
- "echo 'exec chpst -u {{ user }} ollama serve' >> {{ ollama_runit_start }}"
|
||||||
- "chmod +x {{ ollama_runit_start }}"
|
- "chmod +x {{ ollama_runit_start }}"
|
||||||
register: shell_check
|
register: shell_check
|
||||||
|
|||||||
Reference in new issue
Block a user