From ae045e1ac785a1b0286a084c1b6281eb75b2ea8d Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Thu, 10 Aug 2017 15:46:42 +0000 Subject: [PATCH] lock-wrapper wants quotes. --- roles/bodhi2/backend/tasks/main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/roles/bodhi2/backend/tasks/main.yml b/roles/bodhi2/backend/tasks/main.yml index 770785d615..fa8505844c 100644 --- a/roles/bodhi2/backend/tasks/main.yml +++ b/roles/bodhi2/backend/tasks/main.yml @@ -146,7 +146,7 @@ - name: sync packages from pagure-on-dist-git to koji (el6) cron: name="owner-sync-el6" minute="7,17,27,37,47,57" user="root" - job="/usr/local/bin/lock-wrapper owner-sync-el6 /usr/local/bin/owner-sync-pagure dist-6E-epel" + job="/usr/local/bin/lock-wrapper owner-sync-el6 '/usr/local/bin/owner-sync-pagure dist-6E-epel'" cron_file=update-koji-owner-EL-6 when: inventory_hostname.startswith('bodhi-backend01') and env == "production" tags: @@ -155,7 +155,7 @@ - name: sync packages from pagure-on-dist-git to koji (epel7) cron: name="owner-sync-epel7" minute="7,17,27,37,47,57" user="root" - job="/usr/local/bin/lock-wrapper owner-sync-epel7 /usr/local/bin/owner-sync-pagure epel7" + job="/usr/local/bin/lock-wrapper owner-sync-epel7 '/usr/local/bin/owner-sync-pagure epel7'" cron_file=update-koji-owner-epel7 when: inventory_hostname.startswith('bodhi-backend01') and env == "production" tags: @@ -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-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-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-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: @@ -183,7 +183,7 @@ # See https://pagure.io/releng/issue/6663 and https://pagure.io/fm-orchestrator/issue/333 - name: sync packages from pagure-on-dist-git to koji fedora (modules) cron: name="owner-sync-modules" minute="9,19,29,39,49,59" user="root" - job="/usr/local/bin/lock-wrapper owner-sync-modules /usr/local/bin/owner-sync-pagure module-package-list" + job="/usr/local/bin/lock-wrapper owner-sync-modules '/usr/local/bin/owner-sync-pagure module-package-list'" cron_file=update-koji-owner-modules when: inventory_hostname.startswith('bodhi-backend01') and env == "production" tags: