create dirs
This commit is contained in:
parent
7b6e82b702
commit
60e58207b8
@ -28,6 +28,13 @@
|
|||||||
owner: www-data
|
owner: www-data
|
||||||
loop: ['wiki.conf', 'root.conf', 'pma.conf', 'default_server.conf', 'cloud.conf']
|
loop: ['wiki.conf', 'root.conf', 'pma.conf', 'default_server.conf', 'cloud.conf']
|
||||||
|
|
||||||
|
- name: create dirs
|
||||||
|
file:
|
||||||
|
path: /var/www/{{item}}
|
||||||
|
state: directory
|
||||||
|
owner: www-data
|
||||||
|
loop: ['pma','cloud','wiki','default','root']
|
||||||
|
|
||||||
- name: stop nginx
|
- name: stop nginx
|
||||||
service:
|
service:
|
||||||
name: nginx
|
name: nginx
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
---
|
---
|
||||||
domain: xz777.ru
|
domain: zz777.ru
|
||||||
root: /var/www
|
root: /var/www
|
Loading…
Reference in New Issue
Block a user