From 3e1ad8e0a3d0687c5131f514d93afe755cc6195c Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sun, 20 Aug 2017 20:28:18 +0000 Subject: [PATCH] fix daily pagure to bugzilla sync script and make it run only in prod --- roles/distgit/pagure/tasks/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/distgit/pagure/tasks/main.yml b/roles/distgit/pagure/tasks/main.yml index f18469be39..7ae1b98a9a 100644 --- a/roles/distgit/pagure/tasks/main.yml +++ b/roles/distgit/pagure/tasks/main.yml @@ -215,9 +215,10 @@ user: root minute: 0 hour: 18 - job: /usr/local/bin/pagure-sync-bugzilla + job: /usr/local/bin/pagure-sync-bugzilla.py cron_file: pagure-sync-bugzilla state: present + when: env != 'staging' tags: - pagure - bugzilla