Fix the content for /srv/cache

This commit is contained in:
Pierre-Yves Chibon 2015-01-28 15:27:41 +01:00
parent 8a9a1c5ae8
commit edaf6e3e80

View file

@ -244,8 +244,8 @@
- selinux
- name: set the SELinux policy for the Lookaside Cache root directory
command: semanage fcontext -a -t httpd_git_content_t "/srv/cache(/.*)?"
when: lcachecontext.stdout.find('httpd_git_content_t') == -1
command: semanage fcontext -a -t httpd_git_rw_content_t "/srv/cache(/.*)?"
when: lcachecontext.stdout.find('httpd_git_rw_content_t') == -1
tags:
- config
- lookaside