Files
fedora-infra_ansible/roles/git/checks/tasks/main.yml
Pierre-Yves Chibon 0b2079ca11 Add new script to check the post-receive hooks on dist-git
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-04-17 12:52:32 +02:00

30 lines
701 B
YAML

---
# tasklist for setting up a git check script
#
# The script implements various checks (even though it is named check-perms,
# it checks more than perms), and various other roles can then use it in cron
# jobs, triggered by fedmsg, etc...
- name: install the needed packages
package: name=git state=present
tags:
- git
- git/checks
- name: install the script
copy: >
src=check-perms.py dest=/usr/local/bin/git-check-perms
owner=root group=root mode=0755
tags:
- git
- git/checks
- name: install post-receive check script
copy: >
src=distgit_check_hook.py dest=/usr/local/bin/distgit_check_hook.py
owner=root group=root mode=0755
tags:
- git
- git/checks