Centralize the /var/log/*/config code.

This commit is contained in:
me
2026-10-17 14:59:37 -07:00
parent bcdb47ac74
commit 3e1291d1f9
2 changed files with 15 additions and 18 deletions
+6 -18
View File
@@ -327,9 +327,7 @@
ansible.builtin.copy:
dest: "{{ ollama_runit_log_config }}"
content: |
s10000000 # rotate at 10 MB
n5 # keep 5 old files
dateformat %Y-%m-%d_%H-%M-%S # each run gets its own file.
{{ runit_log_config_10mb }}
owner: "{{ user }}"
mode: "0755"
@@ -389,9 +387,7 @@
ansible.builtin.copy:
dest: "{{ zeroclaw_runit_log_config }}"
content: |
s1000000 # rotate at 1 MB
n5 # keep 5 old files
dateformat %Y-%m-%d_%H-%M-%S # each run gets its own file.
{{ runit_log_config_10mb }}
mode: "0755"
# Zeroclaw - End #
@@ -494,9 +490,7 @@
ansible.builtin.copy:
dest: /var/log/open-webui/config
content: |
s1000000 # rotate at 1 MB
n5 # keep 5 old files
dateformat %Y-%m-%d_%H-%M-%S # each run gets its own file.
{{ runit_log_config_100mb }}
mode: "0755"
# Open WebUI - End #
@@ -584,9 +578,7 @@
ansible.builtin.copy:
dest: /var/log/open-terminal/config
content: |
s1000000 # rotate at 1 MB
n5 # keep 5 old files
dateformat %Y-%m-%d_%H-%M-%S # each run gets its own file.
{{ runit_log_config_100mb }}
mode: "0755"
# Open Terminal - End #
@@ -641,9 +633,7 @@
ansible.builtin.copy:
dest: /var/log/swap-stopper/config
content: |
s1000000 # rotate at 1 MB
n5 # keep 5 old files
dateformat %Y-%m-%d_%H-%M-%S # each run gets its own file.
{{ runit_log_config_1mb }}
mode: "0755"
# Swap Saver - End #
@@ -694,9 +684,7 @@
ansible.builtin.copy:
dest: /var/log/{{ qwen_code }}/config
content: |
s1000000 # rotate at 1 MB
n5 # keep 5 old files
dateformat %Y-%m-%d_%H-%M-%S # each run gets its own file.
{{ runit_log_config_10mb }}
mode: "0755"
# Qwen Serve - End #