I guess the logrotate config was updated in the actual Ceph packages at some point so I'm updating this template to match.
Also, we need to keep fewer logs because the reesi keep filling up.
Signed-off-by: David Galloway <dgallowa@redhat.com>
# {{ ansible_managed }}
/var/log/ceph/*.log {
- rotate 12
+ rotate 6
compress
sharedscripts
postrotate
- killall -q -1 ceph-mon ceph-mgr ceph-mds ceph-osd ceph-fuse radosgw || true
+ killall -q -1 ceph-mon ceph-mgr ceph-mds ceph-osd ceph-fuse radosgw || pkill -1 -x "ceph-mon|ceph-mgr|ceph-mds|ceph-osd|ceph-fuse|radosgw" || true
endscript
missingok
notifempty