nginx: fix the creation of the webroot directory.

This commit is contained in:
Andrea Dell'Amico 2017-11-07 12:37:14 +01:00
parent 1704877c29
commit 5556c1318d
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
---
- block:
- 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'
- name: Install the nginx virtualhost files