prepare directories
This commit is contained in:
parent
365555cc2d
commit
5ea9ee8c5a
@ -7,11 +7,14 @@
|
|||||||
|
|
||||||
- name: Prepare directories
|
- name: Prepare directories
|
||||||
file:
|
file:
|
||||||
path: /var/www/vhosts
|
path: {{ items }}
|
||||||
state: directory
|
state: directory
|
||||||
owner: nginx
|
owner: nginx
|
||||||
group: nginx
|
group: nginx
|
||||||
mode: 0750
|
mode: 0750
|
||||||
|
with_items:
|
||||||
|
- /var/www/vhosts
|
||||||
|
- /var/www/vhosts/default
|
||||||
|
|
||||||
- name: Add default page
|
- name: Add default page
|
||||||
template:
|
template:
|
||||||
|
Loading…
Reference in New Issue
Block a user