1
0
Fork 0
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:
Pierre-YvesChibon 2020-11-05 17:05:27 +01:00
commit 9e50494ac9

View file

@ -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