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
No related branches found
No related tags found
No related merge requests found
/var/log/haproxy {
daily
rotate 7
delaycompress
compress
notifempty
missingok
postrotate
service haproxy restart > /dev/null
endscript
daily
rotate 7
delaycompress
compress
notifempty
missingok
postrotate
service haproxy restart > /dev/null
endscript
}
......@@ -42,6 +42,7 @@
owner='root'
group='root'
mode='644'
tags: 'logrotate'
- name: "Install script to read socket"
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