From 2fc13b59e6dd08d47ee52bfd65e9d0316f6e748e Mon Sep 17 00:00:00 2001 From: Hyperling Date: Wed, 7 Oct 2026 01:12:01 -0700 Subject: [PATCH] zeroclaw, fix log script locations, rename variables. --- tasks/workstation/linux/software/zeroclaw.yml | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/tasks/workstation/linux/software/zeroclaw.yml b/tasks/workstation/linux/software/zeroclaw.yml index 5865ac8..9c586cb 100644 --- a/tasks/workstation/linux/software/zeroclaw.yml +++ b/tasks/workstation/linux/software/zeroclaw.yml @@ -66,17 +66,17 @@ - name: Workstation | Linux | Software | ZeroClaw | Facts 03 ansible.builtin.set_fact: - ollama_runit_start: "{{ ollama_runit_dir }}/{{ runit_service_script }}" + ollama_runit_script: "{{ ollama_runit_dir }}/{{ runit_service_script }}" ollama_runit_log_dir: "{{ ollama_runit_dir }}/{{ runit_log_dir }}" ollama_runit_log_config: "{{ ollama_runit_log_dest }}/{{ global_log_config }}" - zeroclaw_runit_start: "{{ zeroclaw_runit_dir }}/{{ runit_service_script }}" + zeroclaw_runit_script: "{{ zeroclaw_runit_dir }}/{{ runit_service_script }}" zeroclaw_runit_log_dir: "{{ zeroclaw_runit_dir }}/{{ runit_log_dir }}" zeroclaw_runit_log_config: "{{ zeroclaw_runit_log_dest }}/{{ global_log_config }}" - name: Workstation | Linux | Software | ZeroClaw | Facts 04 ansible.builtin.set_fact: - ollama_runit_log_start: "{{ ollama_runit_log_dir }}/{{ runit_log_script }}" - zeroclaw_runit_log_start: "{{ zeroclaw_runit_log_dir }}/{{ runit_log_script }}" + ollama_runit_log_script: "{{ ollama_runit_log_dir }}/{{ runit_log_script }}" + zeroclaw_runit_log_script: "{{ zeroclaw_runit_log_dir }}/{{ runit_log_script }}" - name: Workstation | Linux | Software | ZeroClaw | Install ansible.builtin.package: @@ -103,7 +103,7 @@ export HOME={{ user_user.home }} export OLLAMA_MAX_LOADED_MODELS=1 exec chpst -u {{ user }} ollama serve - dest: "{{ ollama_runit_start }}" + dest: "{{ ollama_runit_script }}" mode: "0755" when: ansible_service_mgr == "runit" @@ -120,7 +120,7 @@ content: | #!/bin/sh -e exec svlogd -tt {{ ollama_runit_log_dest }} - dest: "{{ ollama_runit_start }}" + dest: "{{ ollama_runit_log_script }}" mode: "0755" when: ansible_service_mgr == "runit" @@ -163,7 +163,7 @@ # Allow using the ZeroClaw frontend. exec 2>&1 exec chpst -u {{ user }} zeroclaw daemon - dest: "{{ zeroclaw_runit_start }}" + dest: "{{ zeroclaw_runit_script }}" mode: "0755" when: ansible_service_mgr == "runit" @@ -180,7 +180,7 @@ content: | #!/bin/sh -e exec svlogd -tt {{ zeroclaw_runit_log_dest }} - dest: "{{ zeroclaw_runit_start }}" + dest: "{{ zeroclaw_runit_log_script }}" mode: "0755" when: ansible_service_mgr == "runit" @@ -209,7 +209,7 @@ - name: Workstation | Linux | Software | ZeroClaw | ollama | Wait ansible.builtin.uri: - url: http://127.0.0.1:11434/api/version + url: http://127.0.0.1:11434/ status_code: 200 timeout: 5 register: health @@ -259,7 +259,7 @@ - name: Workstation | Linux | Software | ZeroClaw | zeroclaw | Wait ansible.builtin.uri: - url: http://127.0.0.1:42617/api/version + url: http://127.0.0.1:42617 status_code: 200 timeout: 5 register: health