mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-04-03 12:12:10 +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)
|
- 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