From b7f463742c4722a27f23446ef9c5e28685fe8ecf Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Thu, 10 Aug 2017 15:44:52 +0000 Subject: [PATCH] Revert "Each statement needs its own lock-wrapper." This reverts commit 58908123210b8d946f372c0b90f42d9bc805c62b. --- roles/bodhi2/backend/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/bodhi2/backend/tasks/main.yml b/roles/bodhi2/backend/tasks/main.yml index 8b5c8ae17a..770785d615 100644 --- a/roles/bodhi2/backend/tasks/main.yml +++ b/roles/bodhi2/backend/tasks/main.yml @@ -164,7 +164,7 @@ - name: sync packages from pagure-on-dist-git to koji fedora cron: name="owner-sync-fedora" minute="7,17,27,37,47,57" user="root" - job="/usr/local/bin/lock-wrapper owner-sync-f25 /usr/local/bin/owner-sync-pagure f25;/usr/local/bin/lock-wrapper owner-sync-f26 /usr/local/bin/owner-sync-pagure f26;/usr/local/bin/lock-wrapper owner-sync-f27 /usr/local/bin/owner-sync-pagure f27" + job="/usr/local/bin/lock-wrapper owner-sync-fedora /usr/local/bin/owner-sync-pagure f25;/usr/local/bin/owner-sync-pagure f26;/usr/local/bin/owner-sync-pagure f27" cron_file=update-koji-owner-fedora when: inventory_hostname.startswith('bodhi-backend01') and env == "production" tags: @@ -173,7 +173,7 @@ - name: sync packages from pagure-on-dist-git to koji fedora (container) cron: name="owner-sync-fedora-container" minute="7,17,27,37,47,57" user="root" - job="/usr/local/bin/lock-wrapper owner-sync-f25-container /usr/local/bin/owner-sync-pagure f25-container;/usr/local/bin/lock-wrapper owner-sync-f26-container /usr/local/bin/owner-sync-pagure f26-container; /usr/local/bin/lock-wrapper owner-sync-f27-container /usr/local/bin/owner-sync-pagure f27-container" + job="/usr/local/bin/lock-wrapper owner-sync-fedora-container /usr/local/bin/owner-sync-pagure f25-container;/usr/local/bin/owner-sync-pagure f26-container;/usr/local/bin/owner-sync-pagure f27-container" cron_file=update-koji-owner-fedora-container when: inventory_hostname.startswith('bodhi-backend01') and env == "production" tags: