Adjust perms on the pagure config for the hooks
This commit is contained in:
parent
ac1683d21b
commit
478bdbc065
1 changed files with 13 additions and 1 deletions
|
@ -83,7 +83,6 @@
|
|||
owner=pagure group=postfix mode=0640
|
||||
with_items:
|
||||
- { file: pagure.cfg, location: /etc/pagure }
|
||||
- { file: pagure_hook.cfg, location: /etc/pagure }
|
||||
- { file: alembic.ini, location: /etc/pagure }
|
||||
tags:
|
||||
- config
|
||||
|
@ -92,6 +91,19 @@
|
|||
notify:
|
||||
- restart apache
|
||||
|
||||
- name: pagure configuration for the hooks
|
||||
template: src={{ item.file }}
|
||||
dest={{ item.location }}/{{ item.file }}
|
||||
owner=pagure group=packager mode=0640
|
||||
with_items:
|
||||
- { file: pagure_hook.cfg, location: /etc/pagure }
|
||||
tags:
|
||||
- config
|
||||
- web
|
||||
- pagure
|
||||
notify:
|
||||
- restart apache
|
||||
|
||||
- name: create the database scheme
|
||||
command: /usr/bin/python2 /usr/share/pagure/pagure_createdb.py
|
||||
changed_when: "1 != 1"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue