Add default docroot

This commit is contained in:
Antonio J. Delgado 2022-12-07 14:11:15 +02:00
parent 3801f0f081
commit 71373ccf00

View file

@ -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