From cba0f3f7d90bd9221f9dd54a74b17eae74b49751 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 22 Jun 2015 22:08:26 +0000 Subject: [PATCH] Adjust this fcontext to hit the right stuff. --- roles/people/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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