registry / logrotate: replace the rsyslog file, not syslog

We use rsyslog, the syslog file has no effect.
If we overrite rsyslog we get the effect we want (daily logrotate with
xz compression).

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2021-01-11 11:26:52 -08:00
parent affd5a1524
commit 438375f518

View file

@ -50,6 +50,6 @@
- name: override the default syslog logrotate file - name: override the default syslog logrotate file
copy: copy:
src=syslog-logrotate src=syslog-logrotate
dest=/etc/logrotate.d/syslog dest=/etc/logrotate.d/rsyslog
tags: tags:
- docker-distribution - docker-distribution