Create root directory

pull/14/head
Emilien Mantel 2015-11-04 09:16:59 +01:00
parent d1dbdb83d4
commit 9fcba824f5
1 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,10 @@
---
- name: FILE | Create root directory
file: >
path={{ nginx_root }}
state=directory
- name: FILE | Create root folders (foreach nginx_vhosts)
file: >
path={{ nginx_root }}/{{ item.name if item.name is string else item.name[0] }}/public