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
|
package: name={{ item }} state=present
|
||||||
with_items:
|
with_items:
|
||||||
- glusterfs-fuse
|
- glusterfs-fuse
|
||||||
|
- libselinux-python
|
||||||
tags:
|
tags:
|
||||||
- packages
|
- 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.
|
- name: Ensure Gluster brick and mount directories exist.
|
||||||
file: "path={{ item }} state=directory mode=0775"
|
file: "path={{ item }} state=directory mode=0775"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue