Each statement needs its own lock-wrapper.

This commit is contained in:
Ralph Bean 2017-08-10 14:56:56 +00:00
parent a73e9d7b62
commit 5890812321

View file

@ -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-fedora /usr/local/bin/owner-sync-pagure f25;/usr/local/bin/owner-sync-pagure f26;/usr/local/bin/owner-sync-pagure f27"
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"
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-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"
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"
cron_file=update-koji-owner-fedora-container
when: inventory_hostname.startswith('bodhi-backend01') and env == "production"
tags: