logrotate fails if files are not owned by root

Ignoring /etc/logrotate.d/s3-mirror because the file owner is wrong
(should be root).
This commit is contained in:
Adrian Reber 2015-11-18 09:54:38 +00:00
parent 0e96bf424d
commit ea8b15e5d7

View file

@ -41,7 +41,7 @@
copy: src=s3-excludes.txt dest=/usr/local/etc/s3-mirror-excludes.txt owner=s3-mirror group=s3-mirror mode=0644
- name: s3-mirror logrotate
copy: src=s3-mirror.logrotate dest=/etc/logrotate.d/s3-mirror owner=s3-mirror group=s3-mirror mode=0644
copy: src=s3-mirror.logrotate dest=/etc/logrotate.d/s3-mirror owner=root group=root mode=0644
- name: s3sync-logs
copy: src=s3sync-logs dest=/usr/local/bin/s3sync-logs owner=s3-mirror group=s3-mirror mode=0755