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