forked from infra/ansible
distgit/pagure: add some debugging to understand why it mis-behaves
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
f3bdbf3da5
commit
9e50494ac9
1 changed files with 10 additions and 0 deletions
|
|
@ -9,6 +9,16 @@
|
|||
- pagure
|
||||
- selinux
|
||||
|
||||
- debug:
|
||||
msg: distgitcontext.stdout
|
||||
tags:
|
||||
- selinux
|
||||
|
||||
- debug:
|
||||
msg: distgitcontext.stdout.find('gitosis_var_lib_t')
|
||||
tags:
|
||||
- selinux
|
||||
|
||||
- name: set the SELinux policy for the distgit root directory
|
||||
command: semanage fcontext -a -t gitosis_var_lib_t "/srv/git(/.*)?"
|
||||
when: distgitcontext.stdout.find('gitosis_var_lib_t') == -1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue