Skip to content
Snippets Groups Projects
Commit 58a23dd8 authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-inventories/arocom#1590 Update logrotate to keep logs for only 7 days for GDPR compliance

parent 56b46082
Branches main
No related tags found
No related merge requests found
/var/log/haproxy { /var/log/haproxy {
daily daily
rotate 7 rotate 7
delaycompress delaycompress
compress compress
notifempty notifempty
missingok missingok
postrotate postrotate
service haproxy restart > /dev/null service haproxy restart > /dev/null
endscript endscript
} }
...@@ -42,6 +42,7 @@ ...@@ -42,6 +42,7 @@
owner='root' owner='root'
group='root' group='root'
mode='644' mode='644'
tags: 'logrotate'
- name: "Install script to read socket" - name: "Install script to read socket"
template: template:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment