From 5bbb1c5f5e51907d01283ad05a2a93dd6b5dab72 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Fri, 9 Mar 2018 19:01:56 +0000 Subject: [PATCH] fix invocation of git-check-perms. This is needed to setup hooks on new packages as they are added --- roles/distgit/tasks/main.yml | 2 +- roles/gitolite/check_fedmsg_hooks/tasks/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/distgit/tasks/main.yml b/roles/distgit/tasks/main.yml index 7d1f280e2f..40c8a8444c 100644 --- a/roles/distgit/tasks/main.yml +++ b/roles/distgit/tasks/main.yml @@ -150,7 +150,7 @@ name="check-update-hooks" cron_file="ansible-check-update-hooks" minute=0 hour=0 weekday=3 user=nobody - job="MAILTO=root PATH=/usr/bin:/usr/local/bin/git-check-perms --check=update-hook /srv/git/repositories" + job="/usr/local/bin/git-check-perms --check=update-hook /srv/git/repositories" tags: - distgit diff --git a/roles/gitolite/check_fedmsg_hooks/tasks/main.yml b/roles/gitolite/check_fedmsg_hooks/tasks/main.yml index 8766c8ecdf..a22018e49b 100644 --- a/roles/gitolite/check_fedmsg_hooks/tasks/main.yml +++ b/roles/gitolite/check_fedmsg_hooks/tasks/main.yml @@ -8,7 +8,7 @@ minute=10 hour="0, 12" user=nobody - job="MAILTO=root PATH=/usr/bin:/usr/local/bin/git-check-perms /srv/git/repositories --check=fedmsg-hook -f" + job="MAILTO=root /usr/local/bin/git-check-perms /srv/git/repositories --check=fedmsg-hook -f" tags: - git - gitolite