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