Adjust role to install pkgdb_sync_git_branches.py as a template

This commit is contained in:
Pierre-Yves Chibon 2014-08-28 18:22:55 +02:00
parent d4dca172ab
commit 593b37b429

View file

@ -47,7 +47,6 @@
- setup_git_package
- mkbranch
- pkgdb2-clone
- pkgdb_sync_git_branches.py
- process-git-requests
- name: install the Dist Git-related httpd config
@ -55,6 +54,14 @@
notify:
- restart httpd
name: install the pkgdb_sync_git_branches.py scripts
template: src={{item}} dest=/usr/local/bin/{{item}} owner=root group=root mode=0755
with_items:
- pkgdb_sync_git_branches.py
tags:
- config
- distgit
- name: pkgdb_sync_git_branches cron job
copy: src=pkgdb_sync_git_branches.cron
dest=/etc/cron.d/pkgdb_sync_git_branches