From 621fdacda2f885e6a0ab2f895ea99221b25fc002 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Fri, 13 Mar 2015 00:43:03 +0000 Subject: [PATCH] Fix git type for selinux --- roles/cgit/make_pkgs_list/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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