src.nth.io/

summaryrefslogtreecommitdiff
path: root/ergo/tasks
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2026-03-23 22:22:36 -0500
committerLuke Hoersten <[email protected]>2026-03-23 22:22:36 -0500
commit1859f62813f0c586ea49f912944fb25efd60520f (patch)
tree5e92465f6e24cda9f4c38c2c2c00d0c0ccd7c525 /ergo/tasks
parentb7fbbf6810d4d53ca7a0afca31134181f7025a67 (diff)
Fixed log rotation and log2ram sizing.
Diffstat (limited to 'ergo/tasks')
-rw-r--r--ergo/tasks/main.yaml11
1 files changed, 6 insertions, 5 deletions
diff --git a/ergo/tasks/main.yaml b/ergo/tasks/main.yaml
index fd5da50..5998713 100644
--- a/ergo/tasks/main.yaml
+++ b/ergo/tasks/main.yaml
@@ -26,14 +26,15 @@
- name: create ergo dirs
become: yes
file:
- path: "{{item}}/ergo"
+ path: "{{item}}"
owner: "ergo"
group: "ergo"
mode: "0755"
state: "directory"
loop:
- - "/etc"
- - "/var"
+ - "/etc/ergo"
+ - "{{ergo_run_dir}}"
+ - "{{ergo_data_dir}}"
- name: configure ergo
become: yes
@@ -54,8 +55,8 @@
- name: install ergo service
become: yes
- copy:
- src: "ergo.service"
+ template:
+ src: "ergo.service.j2"
dest: "/lib/systemd/system/ergo.service"
mode: "0644"
notify: restart ergo