diff options
author | Jakub Kadlčík <frostyx@email.cz> | 2017-03-07 14:31:28 +0100 |
---|---|---|
committer | Miroslav Suchý <msuchy@redhat.com> | 2017-04-12 08:53:09 +0200 |
commit | cf917e967700a0876bedf202daa53365cf09c332 (patch) | |
tree | ce1fd63111d5593821cd490633ba1123cb9c4421 | |
parent | 8812b2249b8d9e1b6070da8d8501f22252c26ffa (diff) | |
download | ansible-cf917e967700a0876bedf202daa53365cf09c332.tar.gz ansible-cf917e967700a0876bedf202daa53365cf09c332.tar.xz ansible-cf917e967700a0876bedf202daa53365cf09c332.zip |
Allow writing into DB file in SELinux
-rw-r--r-- | roles/copr/mbs/tasks/main.yml | 5 |
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 |