From: David Galloway Date: Thu, 2 Dec 2021 19:19:02 +0000 (-0500) Subject: ansible: Clean up tmp files older than 14 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1937%2Fhead;p=ceph-build.git ansible: Clean up tmp files older than 14 Some of the braggi were still running out of space Signed-off-by: David Galloway --- diff --git a/ansible/examples/slave.yml b/ansible/examples/slave.yml index 4f255bb0..6cd583ad 100644 --- a/ansible/examples/slave.yml +++ b/ansible/examples/slave.yml @@ -57,7 +57,7 @@ - ant - tmpreaper tmp_cleaner_name: tmpreaper - tmp_cleaner_args: "--runtime=0 30d /tmp/" + tmp_cleaner_args: "--runtime=0 14d /tmp/" when: ansible_os_family == "Debian" tags: always @@ -157,7 +157,7 @@ - libffi-devel - tmpwatch tmp_cleaner_name: tmpwatch - tmp_cleaner_args: "30d /tmp/" + tmp_cleaner_args: "14d /tmp/" when: ansible_os_family == "RedHat" tags: always @@ -285,7 +285,7 @@ - osc - build tmp_cleaner_name: tmpwatch - tmp_cleaner_args: "30d /tmp/" + tmp_cleaner_args: "14d /tmp/" when: ansible_os_family == "Suse" tags: always @@ -718,7 +718,7 @@ - name: Create tmp cleaning cronjob cron: - name: "Delete /tmp files that have not been accessed in 30 days" + name: "Delete /tmp files that have not been accessed in 14 days" special_time: daily job: "{{ tmp_cleaner_name }} {{ tmp_cleaner_args }}" when: permanent|bool