Add default docroot
This commit is contained in:
parent
3801f0f081
commit
71373ccf00
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@
|
||||||
|
|
||||||
- name: Ensure vhost docroot exists
|
- name: Ensure vhost docroot exists
|
||||||
file:
|
file:
|
||||||
path: "{{ item.docroot }}"
|
path: "{{ item.docroot | default('/var/www/{{ item.vhostname }}') }}"
|
||||||
state: directory
|
state: directory
|
||||||
owner: www-data
|
owner: www-data
|
||||||
group: www-data
|
group: www-data
|
||||||
|
|
Loading…
Reference in a new issue