forked from ISTI-ansible-roles/ansible-roles
nginx: fix the creation of the webroot directory.
This commit is contained in:
parent
1704877c29
commit
5556c1318d
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
- block:
|
- block:
|
||||||
- name: Create the nginx webroot if different from the default
|
- name: Create the nginx webroot if different from the default
|
||||||
file: dest={{ nginx_webroot }} mode=0755
|
file: dest={{ nginx_webroot }} state=directory mode=0755
|
||||||
when: nginx_webroot != '/usr/share/nginx/html'
|
when: nginx_webroot != '/usr/share/nginx/html'
|
||||||
|
|
||||||
- name: Install the nginx virtualhost files
|
- name: Install the nginx virtualhost files
|
||||||
|
|
Loading…
Reference in New Issue