zeroclaw, add initial playbook.
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
---
|
||||
# 2026-10-05 Hyperling
|
||||
# Install a local LLM for use offline.
|
||||
|
||||
# Currently only testing this on Arch based distros (pacman).
|
||||
- name: Workstation | Linux | Software | ZeroClaw
|
||||
block:
|
||||
|
||||
- name: Workstation | Linux | Software | ZeroClaw | Facts 01
|
||||
ansible.builtin.set_fact:
|
||||
zeroclaw: zeroclaw
|
||||
ollama: ollama
|
||||
|
||||
# 1. Install
|
||||
- name: Workstation | Linux | Software | ZeroClaw | 01 | Install
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- "{{ zeroclaw }}"
|
||||
- "{{ ollama }}"
|
||||
state: present
|
||||
|
||||
- name: Workstation | Linux | Software | ZeroClaw | 02 | Pull Model
|
||||
ansible.builtin.debug:
|
||||
msg: TBD
|
||||
### ollama serve & # start Ollama server
|
||||
### ollama pull llama3.2 # ~2GB, or a smaller model for less RAM
|
||||
|
||||
- name: Workstation | Linux | Software | ZeroClaw | 03 | Config
|
||||
ansible.builtin.debug:
|
||||
msg: TBD
|
||||
### ~/.zeroclaw/config.toml`
|
||||
### `default_provider = "ollama"` pointing at `http://127.0.0.1:11434`
|
||||
|
||||
- name: Workstation | Linux | Software | ZeroClaw | 04 | Test
|
||||
ansible.builtin.debug:
|
||||
msg: TBD
|
||||
### zeroclaw agent -m "Hello!" # quick test
|
||||
|
||||
- name: Workstation | Linux | Software | ZeroClaw | 05 | Init Scripts | zeroclaw
|
||||
ansible.builtin.debug:
|
||||
msg: TBD
|
||||
### `/run/runit/zeroclaw/run`
|
||||
### `zeroclaw daemon`
|
||||
|
||||
- name: Workstation | Linux | Software | ZeroClaw | 05 | Init Scripts | ollama
|
||||
ansible.builtin.debug:
|
||||
msg: TBD
|
||||
when: ansible_service_mgr == "runit"
|
||||
### `/run/runit/ollama/run`
|
||||
### `ollama serve`
|
||||
|
||||
when: ansible_pkg_mgr == "pacman"
|
||||
Reference in New Issue
Block a user