mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-02-24 09:03:29 +07:00
Create root directory
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user