Fix git type for selinux

This commit is contained in:
Patrick Uiterwijk 2015-03-13 00:43:03 +00:00
parent 6f3ac61b96
commit 621fdacda2

View file

@ -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