Allow Apache to serve files from NFS in static hosts
This commit is contained in:
parent
a52bb767dd
commit
3b0a04e516
1 changed files with 5 additions and 0 deletions
|
@ -21,6 +21,11 @@
|
|||
- apache
|
||||
|
||||
tasks:
|
||||
- name: allow apache to access nfs mounts from selinux
|
||||
seboolean:
|
||||
name: httpd_use_nfs
|
||||
state: true
|
||||
persistent: true
|
||||
- name: share role and home directories to apache
|
||||
copy:
|
||||
dest: /etc/httpd/conf.local.d/public_html.conf
|
||||
|
|
Loading…
Add table
Reference in a new issue