zeroclaw, consolidate dir tasks and ensure all the variables are correct.
This commit is contained in:
@@ -92,7 +92,7 @@
|
||||
- "{{ zerocode }}"
|
||||
state: present
|
||||
|
||||
- name: Workstation | Linux | Software | ZeroClaw | ollama | runit | Script | Dir
|
||||
- name: Workstation | Linux | Software | ZeroClaw | ollama | runit | Dir | Run
|
||||
ansible.builtin.file:
|
||||
name: "{{ ollama_runit_dir }}"
|
||||
state: directory
|
||||
@@ -100,7 +100,23 @@
|
||||
mode: "0755"
|
||||
when: ansible_service_mgr == "runit"
|
||||
|
||||
- name: Workstation | Linux | Software | ZeroClaw | ollama | runit | Script | File
|
||||
- name: Workstation | Linux | Software | ZeroClaw | ollama | runit | Dir | Log Run
|
||||
ansible.builtin.file:
|
||||
name: "{{ ollama_runit_log_dir }}"
|
||||
state: directory
|
||||
owner: root
|
||||
mode: "0755"
|
||||
when: ansible_service_mgr == "runit"
|
||||
|
||||
- name: Workstation | Linux | Software | ZeroClaw | ollama | runit | Dir | Log Config
|
||||
ansible.builtin.file:
|
||||
name: "{{ ollama_runit_log_dest }}"
|
||||
state: directory
|
||||
owner: "{{ user }}"
|
||||
mode: "0755"
|
||||
when: ansible_service_mgr == "runit"
|
||||
|
||||
- name: Workstation | Linux | Software | ZeroClaw | ollama | runit | Script | Run
|
||||
ansible.builtin.copy:
|
||||
content: |
|
||||
#!/bin/sh -e
|
||||
@@ -114,15 +130,7 @@
|
||||
mode: "0755"
|
||||
when: ansible_service_mgr == "runit"
|
||||
|
||||
- name: Workstation | Linux | Software | ZeroClaw | ollama | runit | Log | Dir
|
||||
ansible.builtin.file:
|
||||
name: "{{ ollama_runit_log_dir }}"
|
||||
state: directory
|
||||
owner: root
|
||||
mode: "0755"
|
||||
when: ansible_service_mgr == "runit"
|
||||
|
||||
- name: Workstation | Linux | Software | ZeroClaw | ollama | runit | Log | Script
|
||||
- name: Workstation | Linux | Software | ZeroClaw | ollama | runit | Script | Log
|
||||
ansible.builtin.copy:
|
||||
content: |
|
||||
#!/bin/sh -e
|
||||
@@ -131,15 +139,7 @@
|
||||
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
|
||||
- name: Workstation | Linux | Software | ZeroClaw | ollama | runit | Script | Log Config
|
||||
ansible.builtin.copy:
|
||||
content: |
|
||||
s10000000 # rotate at 10 MB
|
||||
@@ -155,7 +155,7 @@
|
||||
state: started
|
||||
enabled: true
|
||||
|
||||
- name: Workstation | Linux | Software | ZeroClaw | zeroclaw | runit | Script | Dir
|
||||
- name: Workstation | Linux | Software | ZeroClaw | zeroclaw | runit | Dir | Run
|
||||
ansible.builtin.file:
|
||||
name: "{{ zeroclaw_runit_dir }}"
|
||||
state: directory
|
||||
@@ -163,6 +163,22 @@
|
||||
mode: "0755"
|
||||
when: ansible_service_mgr == "runit"
|
||||
|
||||
- name: Workstation | Linux | Software | ZeroClaw | zeroclaw | runit | Dir | Log
|
||||
ansible.builtin.file:
|
||||
name: "{{ zeroclaw_runit_log_dir }}"
|
||||
state: directory
|
||||
owner: root
|
||||
mode: "0755"
|
||||
when: ansible_service_mgr == "runit"
|
||||
|
||||
- name: Workstation | Linux | Software | ZeroClaw | zeroclaw | runit | Dir | Log Config
|
||||
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 | Script | File
|
||||
ansible.builtin.copy:
|
||||
content: |
|
||||
@@ -174,15 +190,7 @@
|
||||
mode: "0755"
|
||||
when: ansible_service_mgr == "runit"
|
||||
|
||||
- name: Workstation | Linux | Software | ZeroClaw | zeroclaw | runit | Log | Dir
|
||||
ansible.builtin.file:
|
||||
name: "{{ zeroclaw_runit_log_dir }}"
|
||||
state: directory
|
||||
owner: root
|
||||
mode: "0755"
|
||||
when: ansible_service_mgr == "runit"
|
||||
|
||||
- name: Workstation | Linux | Software | ZeroClaw | zeroclaw | runit | Log | Script
|
||||
- name: Workstation | Linux | Software | ZeroClaw | zeroclaw | runit | Script | Log
|
||||
ansible.builtin.copy:
|
||||
content: |
|
||||
#!/bin/sh -e
|
||||
@@ -191,15 +199,7 @@
|
||||
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
|
||||
- name: Workstation | Linux | Software | ZeroClaw | zeroclaw | runit | Script | Log Config
|
||||
ansible.builtin.copy:
|
||||
content: |
|
||||
s1000000 # rotate at 1 MB
|
||||
|
||||
Reference in New Issue
Block a user