From edaf6e3e805a8550a55cb9c47736cfcb595216da Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Wed, 28 Jan 2015 15:27:41 +0100 Subject: [PATCH] Fix the content for /srv/cache --- roles/distgit/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/distgit/tasks/main.yml b/roles/distgit/tasks/main.yml index 2cdb405e0f..19e568ea79 100644 --- a/roles/distgit/tasks/main.yml +++ b/roles/distgit/tasks/main.yml @@ -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