diff --git a/tasks/config.yml b/tasks/config.yml index 6a6899f..08a0bfa 100644 --- a/tasks/config.yml +++ b/tasks/config.yml @@ -7,11 +7,14 @@ - name: Prepare directories file: - path: /var/www/vhosts + path: {{ items }} state: directory owner: nginx group: nginx mode: 0750 + with_items: + - /var/www/vhosts + - /var/www/vhosts/default - name: Add default page template: