Adjust perms on the pagure config for the hooks

This commit is contained in:
Pierre-Yves Chibon 2017-08-17 11:05:05 +02:00
parent ac1683d21b
commit 478bdbc065

View file

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