mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 00:05:44 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
17
roles/nginx/tasks/dir.yml
Normal file
17
roles/nginx/tasks/dir.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
- 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
|
Reference in New Issue
Block a user