fix selinux context from web root
This commit is contained in:
parent
b31968dcf1
commit
dce83410e4
1 changed files with 5 additions and 0 deletions
|
@ -17,6 +17,11 @@
|
|||
- "/srv/web/{{ inventory_hostname }}"
|
||||
- "/etc/nginx/conf.d/{{ inventory_hostname }}"
|
||||
|
||||
- name: fix selinux contexts from data directory
|
||||
sefcontext:
|
||||
path: /srv/web(/.*)?
|
||||
setype: httpd_sys_content_t
|
||||
|
||||
- name: create nginx base config
|
||||
template:
|
||||
src: nginx.conf.j2
|
||||
|
|
Loading…
Add table
Reference in a new issue