From 068d71c1276fbef83a1bafb001bdc9a43d752efa Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Tue, 9 Sep 2014 10:58:36 +0200 Subject: [PATCH] Fix installing the genacls.pkgdb script from the template directory --- roles/distgit/tasks/main.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/roles/distgit/tasks/main.yml b/roles/distgit/tasks/main.yml index 471ad92ab3..efef26bc2b 100644 --- a/roles/distgit/tasks/main.yml +++ b/roles/distgit/tasks/main.yml @@ -119,12 +119,20 @@ - config - distgit -- name: install the gitolite scripts +- name: install the genacls.sh script copy: src={{item}} dest=/usr/local/bin/{{item}} mode=0755 with_items: - - genacls.pkgdb - genacls.sh +- name: install the genacls.pkgdb scripts + template: src={{item}} dest=/usr/local/bin/{{item}} + owner=root group=root mode=0755 + with_items: + - genacls.pkgdb + tags: + - config + - distgit + - name: Add the genacl daily cron job copy: src=genacls.cron dest=/etc/cron.d/genacls.cron owner=root mode=644