prepare directories

This commit is contained in:
Robert Kaussow 2017-07-15 17:54:35 +02:00
parent 365555cc2d
commit 5ea9ee8c5a
1 changed files with 4 additions and 1 deletions

View File

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