From 875f0371282cdf7cc6cdae4eb64ae978d8d37cf0 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Thu, 28 Sep 2017 12:26:12 +0000 Subject: [PATCH] set sebooleans so httpd can talk to the gluster mount. --- playbooks/groups/odcs.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/playbooks/groups/odcs.yml b/playbooks/groups/odcs.yml index 38477faca1..6f596e2fc5 100644 --- a/playbooks/groups/odcs.yml +++ b/playbooks/groups/odcs.yml @@ -80,8 +80,20 @@ package: name={{ item }} state=present with_items: - glusterfs-fuse + - libselinux-python tags: - packages + - gluster + + - name: set sebooleans so httpd can talk to the gluster mount. + seboolean: name={{ item }} + state=true + persistent=true + with_items: + - nis_enabled + - httpd_use_fusefs + tags: + - gluster - name: Ensure Gluster brick and mount directories exist. file: "path={{ item }} state=directory mode=0775"