copr-backend: fix SELinux fcontext for logstash while we still use this package

This commit is contained in:
clime 2017-02-25 20:18:48 +01:00
parent 5019b0a529
commit 1b3ed7cd49

View file

@ -29,6 +29,12 @@
- python-keystoneclient
- logstash
- name: set correct fcontext for logstash launcher, note: there is equivalency between /usr/lib and /usr/lib64
command: semanage fcontext -a -t bin_t /usr/lib/logstash/bin/logstash
- name: restorecon on the logstash launcher
command: restorecon /usr/lib64/logstash/bin/logstash
- name: make copr dirs
file: state=directory path={{ item }}
with_items: