Start of a stub of a fedorahosted-git + fedmsg playbook.
This commit is contained in:
parent
4dbcf3f226
commit
702311cc3c
1 changed files with 12 additions and 0 deletions
12
playbooks/fedorahosted_fedmsg_git.yml
Normal file
12
playbooks/fedorahosted_fedmsg_git.yml
Normal file
|
@ -0,0 +1,12 @@
|
|||
# requires --extra-vars="repos='yokan.git;yumex.git;yum-langpacks.git'"
|
||||
|
||||
- name: Install the fedmsg hook into a number of fedrahosted git repos
|
||||
hosts: hosted03
|
||||
user: root
|
||||
|
||||
tasks:
|
||||
- name: ensure there is a post-receive-chained.d/ directory
|
||||
file: >
|
||||
ensure=directory
|
||||
path=/srv/git/${item}/hooks/post-receive-chained.d/
|
||||
with_items: ${repos}
|
Loading…
Add table
Add a link
Reference in a new issue