Forget the git group, use setfacl
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
09a573d14d
commit
4e0108d96b
1 changed files with 7 additions and 2 deletions
|
@ -159,8 +159,6 @@
|
|||
group: paguremirroring
|
||||
shell: /bin/nologin
|
||||
home: /srv/mirror
|
||||
groups: git
|
||||
append: yes
|
||||
when: env == 'pagure-staging'
|
||||
tags:
|
||||
- pagure
|
||||
|
@ -321,6 +319,13 @@
|
|||
notify:
|
||||
- restart apache
|
||||
|
||||
- name: let paguremirroring read the pagure config
|
||||
command: /usr/bin/setfacl -dm user:paguremirroring:rx /etc/pagure/pagure.cfg
|
||||
when: env == 'pagure-staging'
|
||||
tags:
|
||||
- pagure
|
||||
- mirror
|
||||
|
||||
- name: Add default facl so apache can read git repos
|
||||
acl: default=yes etype=user entity=apache permissions="rx" name=/srv/git state=present
|
||||
register: acl_updates
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue