aboutsummaryrefslogtreecommitdiffstats
path: root/roles/radicale/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/radicale/tasks')
-rw-r--r--roles/radicale/tasks/main.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/radicale/tasks/main.yml b/roles/radicale/tasks/main.yml
index dbd6839..213b523 100644
--- a/roles/radicale/tasks/main.yml
+++ b/roles/radicale/tasks/main.yml
@@ -63,3 +63,9 @@
- name: enable and start uwsgi
command: rcenable uwsgi
+
+- name: newsyslog - uwsgi/radicale log rotation
+ lineinfile:
+ path: /etc/newsyslog.conf
+ regexp: '/var/log/uwsgi-radicale.log'
+ line: "/var/log/uwsgi-radicale.log 640 7 * @T00 Z /var/run/uwsgi-radicale.pid"