From f883635ab55071030500b81d2f4a804ca6b81f5c Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Thu, 19 Feb 2015 13:38:24 +0100 Subject: [PATCH] Set the git_cgi_use_nfs SELinux boolean for the lookaside --- roles/distgit/tasks/main.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/roles/distgit/tasks/main.yml b/roles/distgit/tasks/main.yml index 4511fe5923..847dc8aee4 100644 --- a/roles/distgit/tasks/main.yml +++ b/roles/distgit/tasks/main.yml @@ -243,6 +243,13 @@ - config - selinux +- name: set the selinux boolean git_cgi_use_nfs + seboolean: name=git_cgi_use_nfs persistent=yes state=yes + tags: + - distgit + - config + - selinux + - name: check the selinux context of the Lookaside Cache root directory command: matchpathcon /srv/cache register: lcachecontext