Greetings. It seems the git-check-perms cron job is still not 100% right. ;) Currently it's running as 'nobody' and thus doesn't have perms to setup right right hooks. ;( I think the following should fix it (also removes a MAILTO that doesn't matter anymore). diff --git a/roles/gitolite/check_fedmsg_hooks/tasks/main.yml b/roles/gitolite/check_fedmsg_hooks/tasks/main.yml index a22018e..51bff93 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=root + job="/usr/local/bin/git-check-perms /srv/git/repositories --check=fedmsg-hook -f" tags: - git - gitolite +1s? kevin
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx