Revert "Each statement needs its own lock-wrapper."

This reverts commit 5890812321.
This commit is contained in:
Ralph Bean 2017-08-10 15:44:52 +00:00
parent afd0a590f9
commit b7f463742c

View file

@ -164,7 +164,7 @@
- name: sync packages from pagure-on-dist-git to koji fedora - 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" 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 cron_file=update-koji-owner-fedora
when: inventory_hostname.startswith('bodhi-backend01') and env == "production" when: inventory_hostname.startswith('bodhi-backend01') and env == "production"
tags: tags:
@ -173,7 +173,7 @@
- name: sync packages from pagure-on-dist-git to koji fedora (container) - 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" 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 cron_file=update-koji-owner-fedora-container
when: inventory_hostname.startswith('bodhi-backend01') and env == "production" when: inventory_hostname.startswith('bodhi-backend01') and env == "production"
tags: tags: