create dirs

This commit is contained in:
lulzette 2021-02-25 18:05:51 +03:00
parent 7b6e82b702
commit 60e58207b8
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -1,3 +1,3 @@
--- ---
domain: xz777.ru domain: zz777.ru
root: /var/www root: /var/www