Browse Source

A cronjob to drop cashes on the metadata servers.

pull/7/head
Egon Rijpkema 4 years ago
parent
commit
07b893befc
  1. 10
      roles/metadata/tasks/main.yml

10
roles/metadata/tasks/main.yml

@ -0,0 +1,10 @@ @@ -0,0 +1,10 @@
---
- name: Drop cashes every week.
cron:
name: Drop cashes every week
weekday: 1
minute: 42
hour: 4
user: root
job: 'echo 1 > /proc/sys/vm/drop_cache'
cron_file: drop_caches
Loading…
Cancel
Save