mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-10-27 03:24:04 +07:00
Create root directory
This commit is contained in:
1 parent
d1dbdb83d4
commit
9fcba824f5
1 file changed
+5
@@ -1,5 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
|
- name: FILE | Create root directory
|
||||||
|
file: >
|
||||||
|
path={{ nginx_root }}
|
||||||
|
state=directory
|
||||||
|
|
||||||
- name: FILE | Create root folders (foreach nginx_vhosts)
|
- name: FILE | Create root folders (foreach nginx_vhosts)
|
||||||
file: >
|
file: >
|
||||||
path={{ nginx_root }}/{{ item.name if item.name is string else item.name[0] }}/public
|
path={{ nginx_root }}/{{ item.name if item.name is string else item.name[0] }}/public
|
||||||
|
|||||||
Reference in new issue
Block a user