diff --git a/roles/people/tasks/main.yml b/roles/people/tasks/main.yml index 862a44ae44..109819ef23 100644 --- a/roles/people/tasks/main.yml +++ b/roles/people/tasks/main.yml @@ -49,7 +49,7 @@ - people - name: check the selinux context of the users home git dirs - command: matchpathcon "/home/fedora/(/.*)/public_git(/.*)?" + command: matchpathcon "/home/fedora/someone/public_git" register: gitcontext always_run: yes changed_when: false @@ -65,7 +65,7 @@ - selinux - name: check the selinux context of the project dirs - command: matchpathcon "/project(.*)?" + command: matchpathcon "/project" register: gitcontext always_run: yes changed_when: false @@ -82,7 +82,7 @@ - name: check the selinux context of the web dir - command: matchpathcon "/srv/web(/.*)?" + command: matchpathcon "/srv/web" register: gitcontext always_run: yes changed_when: false @@ -98,7 +98,7 @@ - selinux - name: check the selinux context of the people dir - command: matchpathcon "/srv/people(/.*)?" + command: matchpathcon "/srv/people" register: gitcontext always_run: yes changed_when: false @@ -114,7 +114,7 @@ - selinux - name: check the selinux context of the planet dir - command: matchpathcon "/srv/planet(/.*)?" + command: matchpathcon "/srv/planet" register: gitcontext always_run: yes changed_when: false