From b10e5a2ca46c91eb1003d01e462d93f7ad5c1a2d Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sat, 17 Mar 2018 01:15:51 +0000 Subject: [PATCH] Fix this cron job to run as pagure instead of nobody so it can actually fix hooks. --- roles/gitolite/check_fedmsg_hooks/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/gitolite/check_fedmsg_hooks/tasks/main.yml b/roles/gitolite/check_fedmsg_hooks/tasks/main.yml index a22018e49b..1242b1784a 100644 --- a/roles/gitolite/check_fedmsg_hooks/tasks/main.yml +++ b/roles/gitolite/check_fedmsg_hooks/tasks/main.yml @@ -7,8 +7,8 @@ cron_file=ansible-git-check-perms minute=10 hour="0, 12" - user=nobody - job="MAILTO=root /usr/local/bin/git-check-perms /srv/git/repositories --check=fedmsg-hook -f" + user=pagure + job="/usr/local/bin/git-check-perms /srv/git/repositories --check=fedmsg-hook -f" tags: - git - gitolite