commit 09b92e306035e03045b109ce1c9106096ff662fd
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Thu Jan 5 16:39:33 2017 +0100
Update DIRECTORY_SIZES.txt for RPM Fusion
roles/bodhi2/backend/tasks/main.yml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/roles/bodhi2/backend/tasks/main.yml b/roles/bodhi2/backend/tasks/main.yml
index 61c9dc6..fbc6974 100644
--- a/roles/bodhi2/backend/tasks/main.yml
+++ b/roles/bodhi2/backend/tasks/main.yml
@@ -263,8 +263,8 @@
- cron
- name: directory sizes update cron job.
- cron: name="directory-sizes-update" minute="30" hour="19"
user="ftpsync"
- job="/usr/bin/find /pub/alt/ /pub/archive/ /pub/fedora-secondary/
/pub/fedora/ /pub/epel/ -type d ! -path '/pub/fedora/.snapshot*' ! -path
'/pub/epel/.snapshot*' ! -path '/pub/alt/.snapshot*' ! -path
'/pub/archive/.snapshot*' ! -path '/pub/fedora-secondary/.snapshot*' !
-path '/pub/alt/stage*' ! -path '/pub/alt/tmp' ! -path
'/pub/alt/screenshots/f21/source' | grep -v snapshot | /usr/bin/xargs -n 1
/usr/bin/du --exclude=.snapshot --exclude=stage -sh > /tmp/DIRECTORY_SIZES.txt 2>
/dev/null; cp /tmp/DIRECTORY_SIZES.txt /pub/"
+ cron: name="directory-sizes-update" minute="30" hour="23"
user="ftpsync"
+ job="/usr/bin/find /pub/free/alt/ /pub/free/archive/
/pub/free/fedora-secondary/ /pub/free/fedora/ /pub/free/el/ /pub/nonfree/alt/
/pub/nonfree/archive/ /pub/nonfree/fedora-secondary/ /pub/nonfree/fedora/ /pub/nonfree/el/
-type d | grep -v snapshot | /usr/bin/xargs -n 1 /usr/bin/du --exclude=.snapshot -sh >
/tmp/DIRECTORY_SIZES.txt 2> /dev/null; cp /tmp/DIRECTORY_SIZES.txt /pub/"
cron_file=directory-sizes-update
when: inventory_hostname.startswith('bodhi-backend01') and env ==
"production"
tags:
Show replies by date