Commit 3b82b1bd authored by Jürgen Haas's avatar Jürgen Haas

fluentd#2 Add more logs to fluentd and make sure they can all be read

parent 516cca14
......@@ -47,4 +47,13 @@
with_items: '{{ gcloud_sync|default([]) }}'
tags: 'cron'
- name: "Install logrotate script"
template:
src=etc-logrotate-gcloud
dest=/etc/logrotate.d/gcloud
owner=root
group=root
mode='644'
tags: 'logrotate'
when: 'gcloud_enabled and "gcloud" not in excluded_roles and gcloud_sync is defined'
/var/log/gcloud/rsync.log {
rotate 12
weekly
missingok
notifempty
create 644 root root
compress
delaycompress
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment