Adjust the group ownership and mode of the pagure.cf in /etc/pagure
This is required to allow the milter to load the configuration file and thus be able to access the DB
This commit is contained in:
parent
6c124824fc
commit
751afb19e3
1 changed files with 3 additions and 3 deletions
|
@ -188,10 +188,10 @@
|
|||
- name: Install all the configuration files of pagure
|
||||
template: src={{ item.file }}
|
||||
dest={{ item.location }}/{{ item.file }}
|
||||
owner={{ item.user }} group={{ item.user }} mode=0600
|
||||
owner={{ item.user }} group={{ item.group }} mode={{ item.mode }}
|
||||
with_items:
|
||||
- { file: pagure.cfg, location: /etc/pagure, user: git }
|
||||
- { file: pagure.conf, location: /etc/httpd/conf.d, user: apache }
|
||||
- { file: pagure.cfg, location: /etc/pagure, user: git, group: postfix, mode=640 }
|
||||
- { file: pagure.conf, location: /etc/httpd/conf.d, user: apache, group: apache, mode=600 }
|
||||
tags:
|
||||
- config
|
||||
- web
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue