You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
413 B
18 lines
413 B
5 years ago
|
---
|
||
|
- name: Create default root dir
|
||
|
file: path=/var/www/html state=directory
|
||
|
tags: web
|
||
|
|
||
|
- name: Create ansible conf directory
|
||
|
file: path=/etc/nginx/{{ item }} state=directory
|
||
|
with_items:
|
||
|
- ansible_conf.d
|
||
|
- ansible_modules.d
|
||
|
- ansible_location.d
|
||
|
- bots.d
|
||
|
tags: web
|
||
|
|
||
|
- name: Create cache directory
|
||
|
file: path=/var/cache/nginx state=directory mode=700 owner=nginx group=nginx
|
||
|
tags: web
|