diff --git a/roles/people/tasks/main.yml b/roles/people/tasks/main.yml index 89cf587a34..e63e429c69 100644 --- a/roles/people/tasks/main.yml +++ b/roles/people/tasks/main.yml @@ -51,7 +51,7 @@ - selinux - name: set the SELinux policy for the users home git dirs - command: semanage fcontext -a -t git_user_content_t "/home/fedora/(/.*)/public_git(/.*)?" + command: semanage fcontext -a -t git_user_content_t "/home/fedora/(.*)/public_git(.*)" when: gitcontext.stdout.find('git_user_content_t') == -1 tags: - config