mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-07-17 12:10:34 +08:00
Fix git type for selinux
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user