ansible/roles/git/hooks/tasks/main.yml
Ryan Lerch 691adee6ee Fix name[casing] ansible-lint issues
fix 1900 failures of the following case issue:

`name[casing]: All names should start with an uppercase letter.`

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-14 20:20:07 +10:00

39 lines
738 B
YAML

---
# tasklist for setting up git mail hooks
- name: Install needed packages
package:
state: present
name:
- git
# - moreutils
- python3-kitchen
- python3-pygit2
- fedora-messaging
- fedora-messaging-git-hook
tags:
- git
- git/hooks
- packages
- name: Install the git hooks
copy: src={{item}} dest=/usr/share/git-core/ mode=0755
with_items:
- post-receive-chained
- post-receive-chained-forks
- post-receive-alternativearch
- update-block-push-origin
tags:
- git
- git/hooks
- 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
tags:
- git
- git/hooks