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"