Adjust the mode for the update hook itself

This commit is contained in:
Pierre-Yves Chibon 2015-01-27 18:44:14 +01:00
parent 31933066d0
commit 299ecf5943

View file

@ -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 ------------------------------------------------