roles/nginx: Create fastcgi cache dir

Or else nginx doesn't start.

Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
Alan Orth 2015-02-19 18:49:39 +03:00
parent d8b6222527
commit b93da27fde
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -25,6 +25,10 @@
file: path=/etc/nginx/conf.d/default.conf state=absent file: path=/etc/nginx/conf.d/default.conf state=absent
tags: nginx tags: nginx
- name: Create fastcgi cache dir
file: path=/var/cache/nginx/cached/fastcgi state=directory owner=nginx group=nginx mode=0755
tags: nginx
- include: vhosts.yml - include: vhosts.yml
when: nginx_vhosts is defined when: nginx_vhosts is defined
tags: nginx tags: nginx