diff --git a/tasks/configure.yml b/tasks/configure.yml index f24adfe..9a800ba 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -72,7 +72,7 @@ - name: Ensure vhost docroot exists file: - path: "{{ item.docroot }}" + path: "{{ item.docroot | default('/var/www/{{ item.vhostname }}') }}" state: directory owner: www-data group: www-data