set sebooleans so httpd can talk to the gluster mount.
This commit is contained in:
parent
c6f2aded94
commit
875f037128
1 changed files with 12 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue