]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ansible: Clean up tmp files older than 14 1937/head
authorDavid Galloway <dgallowa@redhat.com>
Thu, 2 Dec 2021 19:19:02 +0000 (14:19 -0500)
committerDavid Galloway <dgallowa@redhat.com>
Thu, 2 Dec 2021 19:31:02 +0000 (14:31 -0500)
Some of the braggi were still running out of space

Signed-off-by: David Galloway <dgallowa@redhat.com>
ansible/examples/slave.yml

index 4f255bb019b08b7a8390ee088dc98a4dade800e6..6cd583aded652948379ecb99d7fce77ef1b4e40b 100644 (file)
@@ -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
 
           - libffi-devel
           - tmpwatch
         tmp_cleaner_name: tmpwatch
-        tmp_cleaner_args: "30d /tmp/"
+        tmp_cleaner_args: "14d /tmp/"
       when: ansible_os_family == "RedHat"
       tags: always
 
           - osc
           - build
         tmp_cleaner_name: tmpwatch
-        tmp_cleaner_args: "30d /tmp/"
+        tmp_cleaner_args: "14d /tmp/"
       when: ansible_os_family == "Suse"
       tags: always
 
 
         - 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