summaryrefslogtreecommitdiffstats
path: root/roles/git/checks/tasks/main.yml
blob: baf8a104c383d2f1cec862a3f2a0481bdc2e0fb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---
# 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
  yum: pkg=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