mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-01 05:51:56 +08:00
This had been found by misc during his review of the patches, but the unfixed patch is what got merged. https://fedorahosted.org/fedora-infrastructure/ticket/4452
23 lines
486 B
YAML
23 lines
486 B
YAML
---
|
|
# tasklist for setting up git mail hooks
|
|
|
|
- name: install needed packages
|
|
yum: pkg={{item}} state=present
|
|
with_items:
|
|
- git
|
|
- moreutils
|
|
- python-kitchen
|
|
|
|
- name: install the git hooks
|
|
copy: src={{item}} dest=/usr/share/git-core mode=0755
|
|
with_items:
|
|
- post-receive-fedmsg
|
|
- post-receive-chained
|
|
|
|
- name: install the git mail hooks
|
|
copy: src={{item}} dest=/usr/share/git-core/mail-hooks mode=0755
|
|
with_items:
|
|
- util.py
|
|
- git.py
|
|
- gnome-post-receive-email
|