Commit 784f6c7c by e0d

Rotating everything

parent 6dccd3fb
......@@ -11,7 +11,28 @@
- stop_all_edx_services
tasks:
- name: Force a log rotation
command: /usr/sbin/logrotate -f /etc/logrotate.d/hourly/tracking.log
command: /usr/sbin/logrotate -f /etc/logrotate.d/{{ item }}
with_items:
- "apport"
- "apt"
- "aptitude"
- "dpkg"
- "hourly"
- "landscape-client"
- "newrelic-sysmond"
- "nginx"
- "nginx-access"
- "nginx-error"
- "ppp"
- "rsyslog"
- "ufw"
- "unattended-upgrades"
- "upstart"
- name: Force a log rotation
command: /usr/sbin/logrotate -f /etc/logrotate.d/hourly/{{ item }}
with_items:
- "tracking.log"
- "edx-services"
- name: Send logs to s3
command: /edx/bin/send-logs-to-s3
- name: Run minos
......
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