From 17e29970dc33c15ef085058ce784ab281eef8e42 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Fri, 28 Jul 2017 10:15:48 +0000 Subject: [PATCH] bodhi2: backend: now bodhi is doing updates for secondary the update-fullfiletimelist cron needs to do fedora-secondary too --- roles/bodhi2/backend/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/bodhi2/backend/tasks/main.yml b/roles/bodhi2/backend/tasks/main.yml index 05ac39c1ad..21f23eafef 100644 --- a/roles/bodhi2/backend/tasks/main.yml +++ b/roles/bodhi2/backend/tasks/main.yml @@ -222,7 +222,7 @@ - name: Updates sync cron job. cron: name="updates-sync" minute="15,45" user="ftpsync" - job="/usr/local/bin/lock-wrapper fedora-updates-push '/usr/local/bin/fedora-updates-push && /usr/local/bin/update-fullfiletimelist -l /pub/fedora-secondary/update-fullfiletimelist.lock -t /pub fedora'" + job="/usr/local/bin/lock-wrapper fedora-updates-push '/usr/local/bin/fedora-updates-push && /usr/local/bin/update-fullfiletimelist -l /pub/fedora-secondary/update-fullfiletimelist.lock -t /pub fedora fedora-secondary'" cron_file=updates-sync when: inventory_hostname.startswith('bodhi-backend01') and env == "production" tags: