zeroclaw, fix tasks to create log dest, all have owner and mode set, and have when clauses related to runit.
This commit is contained in:
@@ -90,8 +90,11 @@
|
||||
ansible.builtin.file:
|
||||
name: "{{ ollama_runit_dir }}"
|
||||
state: directory
|
||||
owner: root
|
||||
mode: "0755"
|
||||
when: ansible_service_mgr == "runit"
|
||||
|
||||
- name: Workstation | Linux | Software | ZeroClaw | ollama | runit | Script
|
||||
- name: Workstation | Linux | Software | ZeroClaw | ollama | runit | Script | File
|
||||
ansible.builtin.copy:
|
||||
content: |
|
||||
#!/bin/sh -e
|
||||
@@ -108,7 +111,9 @@
|
||||
ansible.builtin.file:
|
||||
name: "{{ ollama_runit_log_dir }}"
|
||||
state: directory
|
||||
owner: "{{ user }}"
|
||||
owner: root
|
||||
mode: "0755"
|
||||
when: ansible_service_mgr == "runit"
|
||||
|
||||
- name: Workstation | Linux | Software | ZeroClaw | ollama | runit | Log | Script
|
||||
ansible.builtin.copy:
|
||||
@@ -119,6 +124,14 @@
|
||||
mode: "0755"
|
||||
when: ansible_service_mgr == "runit"
|
||||
|
||||
- name: Workstation | Linux | Software | ZeroClaw | ollama | runit | Log | Dest
|
||||
ansible.builtin.file:
|
||||
name: "{{ ollama_runit_log_dir }}"
|
||||
state: directory
|
||||
owner: "{{ user }}"
|
||||
mode: "0755"
|
||||
when: ansible_service_mgr == "runit"
|
||||
|
||||
- name: Workstation | Linux | Software | ZeroClaw | ollama | runit | Log | Config
|
||||
ansible.builtin.copy:
|
||||
content: |
|
||||
@@ -139,8 +152,11 @@
|
||||
ansible.builtin.file:
|
||||
name: "{{ zeroclaw_runit_dir }}"
|
||||
state: directory
|
||||
owner: root
|
||||
mode: "0755"
|
||||
when: ansible_service_mgr == "runit"
|
||||
|
||||
- name: Workstation | Linux | Software | ZeroClaw | zeroclaw | runit | Script
|
||||
- name: Workstation | Linux | Software | ZeroClaw | zeroclaw | runit | Script | File
|
||||
ansible.builtin.copy:
|
||||
content: |
|
||||
#!/bin/sh -e
|
||||
@@ -155,7 +171,9 @@
|
||||
ansible.builtin.file:
|
||||
name: "{{ zeroclaw_runit_log_dir }}"
|
||||
state: directory
|
||||
owner: "{{ user }}"
|
||||
owner: root
|
||||
mode: "0755"
|
||||
when: ansible_service_mgr == "runit"
|
||||
|
||||
- name: Workstation | Linux | Software | ZeroClaw | zeroclaw | runit | Log | Script
|
||||
ansible.builtin.copy:
|
||||
@@ -166,6 +184,14 @@
|
||||
mode: "0755"
|
||||
when: ansible_service_mgr == "runit"
|
||||
|
||||
- name: Workstation | Linux | Software | ZeroClaw | zeroclaw | runit | Log | Dest
|
||||
ansible.builtin.file:
|
||||
name: "{{ zeroclaw_runit_log_dest }}"
|
||||
state: directory
|
||||
owner: "{{ user }}"
|
||||
mode: "0755"
|
||||
when: ansible_service_mgr == "runit"
|
||||
|
||||
- name: Workstation | Linux | Software | ZeroClaw | zeroclaw | runit | Log | Config
|
||||
ansible.builtin.copy:
|
||||
content: |
|
||||
|
||||
Reference in New Issue
Block a user