Files
fedora-infra_ansible/roles/git/checks/tasks/main.yml
Ryan Lerch 25391e95b7 ansiblelint fixes - fqcn[action-core] - package to ansible.builtin.package
Replaces many references to  package: with ansible.builtin.package

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:28:00 +10:00

29 lines
748 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
ansible.builtin.package: name=git state=present
tags:
- git
- git/checks
- name: Install the script
ansible.builtin.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
ansible.builtin.copy: >
src=distgit_check_hook.py dest=/usr/local/bin/distgit_check_hook.py
owner=root group=root mode=0755
tags:
- git
- git/checks