system-config/playbooks/roles/logrotate/defaults/main.yaml
Ian Wienand d4a96a421b logrotate: better rotation options
The extant "logrotate_daily" varaible doesn't really do anything and
isn't used.  Modify this to be able to set a range of rotation periods
or a size.

Update mirror rsync mirrors to rotate weekly, as often releases run
overnight and it's a pain to reconstruct.

Change-Id: I121dc5f4fe7f226b66d18b9ec39e7e3839be4d40
2019-10-01 09:00:53 +10:00

8 lines
199 B
YAML

logrotate_compress: yes
logrotate_copytruncate: yes
logrotate_delaycompress: yes
logrotate_missingok: yes
logrotate_rotate: 7
logrotate_frequency: daily
logrotate_size: None
logrotate_notifempty: yes