Fix git type for selinux
This commit is contained in:
parent
6f3ac61b96
commit
621fdacda2
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue