From 94c23a69925242c5751e73840ed75c9c7c78dfa9 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Thu, 29 Jan 2015 11:59:48 +0100 Subject: [PATCH] Turn on the SELinux boolean nis_enabled on pkgs --- 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 19e568ea79..04e3b962f7 100644 --- a/roles/distgit/tasks/main.yml +++ b/roles/distgit/tasks/main.yml @@ -233,6 +233,13 @@ file: dest=/srv/cache/lookaside/pkgs state=directory owner=apache group=apache +- name: set the selinux boolean nis_enabled + seboolean: name=nis_enabled 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