summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roles/copr/mbs/tasks/main.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/copr/mbs/tasks/main.yml b/roles/copr/mbs/tasks/main.yml
index 38412ad84..eeb3eb7e3 100644
--- a/roles/copr/mbs/tasks/main.yml
+++ b/roles/copr/mbs/tasks/main.yml
@@ -124,6 +124,11 @@
- name: Add copr-fe to mbs group
user: name=copr-fe groups=mbs append=yes
+- name: Allow writing into DB file in SELinux
+ file: path="{{item}}" setype=httpd_sys_rw_content_t
+ with_items:
+ - /etc/module-build-service
+ - /etc/module-build-service/module_build_service.db
# Run module-build-service processes
- name: Enable fedmsg-relay