From 71373ccf0069492ed59dc264c0d17260107ecfff Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Wed, 7 Dec 2022 14:11:15 +0200 Subject: [PATCH] Add default docroot --- tasks/configure.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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