distgit: drop selinux config from the distgit role as it is now in pagure role
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
85bbe256df
commit
a7e2a97fad
1 changed files with 0 additions and 23 deletions
|
@ -157,29 +157,6 @@
|
|||
tags:
|
||||
- distgit
|
||||
|
||||
- name: check the selinux context of the distgit root directory
|
||||
command: matchpathcon /srv/git
|
||||
register: distgitcontext
|
||||
check_mode: no
|
||||
changed_when: false
|
||||
tags:
|
||||
- config
|
||||
- distgit
|
||||
- selinux
|
||||
|
||||
- name: set the SELinux policy for the distgit root directory
|
||||
command: semanage fcontext -a -t git_content_t "/srv/git(/.*)?"
|
||||
when: distgitcontext.stdout.find('git_content_t') == -1
|
||||
tags:
|
||||
- config
|
||||
- distgit
|
||||
- selinux
|
||||
|
||||
- name: create the distgit root directory (/srv/git/repositories)
|
||||
file: dest=/srv/git/repositories state=directory mode=2775 group=packager
|
||||
tags:
|
||||
- distgit
|
||||
|
||||
# These should all map to pkgdb namespaces
|
||||
- name: create our namespace directories inside there..
|
||||
file: dest=/srv/git/repositories/{{item}} state=directory mode=2775 group=packager
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue