diff --git a/roles/cgit/make_pkgs_list/tasks/main.yml b/roles/cgit/make_pkgs_list/tasks/main.yml index f5e583e6b2..f045e6d32a 100644 --- a/roles/cgit/make_pkgs_list/tasks/main.yml +++ b/roles/cgit/make_pkgs_list/tasks/main.yml @@ -31,8 +31,8 @@ - selinux - name: set the SELinux policy for the repo list - command: semanage fcontext -a -t httpd_git_content_t "/srv/git/pkgs-git-repos-list" - when: gitlistcontext.stdout.find('httpd_git_content_t') == -1 + command: semanage fcontext -a -t git_user_content_t "/srv/git/pkgs-git-repos-list" + when: gitlistcontext.stdout.find('git_user_content_t') == -1 tags: - config - cgit