From fbe5f54b7f0c1c5702ad8bcd44e1247e221d3463 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Mon, 5 Oct 2026 14:53:03 -0700 Subject: [PATCH] zeroclaw, add initial playbook. --- tasks/workstation/linux/software/zeroclaw.yml | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 tasks/workstation/linux/software/zeroclaw.yml diff --git a/tasks/workstation/linux/software/zeroclaw.yml b/tasks/workstation/linux/software/zeroclaw.yml new file mode 100644 index 0000000..f4ee7f5 --- /dev/null +++ b/tasks/workstation/linux/software/zeroclaw.yml @@ -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"