From 299ecf59430b63c901c4f198732511294fc99d4f Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Tue, 27 Jan 2015 18:44:14 +0100 Subject: [PATCH] Adjust the mode for the update hook itself --- roles/distgit/tasks/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/distgit/tasks/main.yml b/roles/distgit/tasks/main.yml index 681bb617b6..c2e4a16b35 100644 --- a/roles/distgit/tasks/main.yml +++ b/roles/distgit/tasks/main.yml @@ -201,11 +201,11 @@ - distgit - name: Fix permissions on the Gitolite stuff - file: dest={{ item }} state=touch group=packager mode=770 + file: dest={{ item.name }} state=touch group=packager mode={{ item.mode }} with_items: - - /etc/gitolite/hooks - - /etc/gitolite/hooks/common - - /etc/gitolite/hooks/common/update + - {name: /etc/gitolite/hooks, mode: 770} + - {name: /etc/gitolite/hooks/common, mode: 770} + - {name: /etc/gitolite/hooks/common/update, mode: 755} # -- CGit ------------------------------------------------