Use git_content_t for distgit
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
97921b1d8e
commit
1e6d4d5fc4
2 changed files with 4 additions and 4 deletions
|
@ -56,8 +56,8 @@
|
|||
- selinux
|
||||
|
||||
- name: set the SELinux policy for the repo list
|
||||
command: semanage fcontext -a -t git_user_content_t "/srv/git/pkgs-git-repos-list"
|
||||
when: gitlistcontext.stdout.find('git_user_content_t') == -1
|
||||
command: semanage fcontext -a -t git_content_t "/srv/git/pkgs-git-repos-list"
|
||||
when: gitlistcontext.stdout.find('git_content_t') == -1
|
||||
tags:
|
||||
- config
|
||||
- cgit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue