From 593b37b4299a34250c52f33c3e0322c3132a9daa Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Thu, 28 Aug 2014 18:22:55 +0200 Subject: [PATCH] Adjust role to install pkgdb_sync_git_branches.py as a template --- roles/distgit/tasks/main.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/roles/distgit/tasks/main.yml b/roles/distgit/tasks/main.yml index 80f8cdef4e..d890b73242 100644 --- a/roles/distgit/tasks/main.yml +++ b/roles/distgit/tasks/main.yml @@ -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