[copr] acl's for logstash

This commit is contained in:
Valentin Gologuzov 2015-02-24 01:06:55 +01:00
parent 996521a4db
commit 17d8dce934
2 changed files with 5 additions and 2 deletions

View file

@ -158,3 +158,6 @@
- name: change owner for results dir if it isn't copr
shell: "chown -R copr:copr /var/lib/copr/public_html"
when: copr_results_dir_st.stat.pw_name != "copr"
- name: set acl for logstash to access httpd logs
acl: name=/var/log/lighttpd entity=logstash etype=user permissions=rx state=present

View file

@ -46,5 +46,5 @@
- httpd
- postgresql
#- name: set acl for logstash to access httpd logs
# acl: name=/var/log/httpd entity=logstash etype=user permissions=rx state=present
- name: set acl for logstash to access httpd logs
acl: name=/var/log/httpd entity=logstash etype=user permissions=rx state=present