roles/nginx: Add missing nginx tag
The creation of the fastcgi cache dir is part of the nginx role and should be labled as such. In situations where you only run nginx tasks with `-t nginx` nginx will fail to start due to the missing cache dir.
This commit is contained in:
parent
fc66f8c354
commit
ebf79c5b07
@ -27,6 +27,7 @@
|
|||||||
|
|
||||||
- name: Create fastcgi cache dir
|
- name: Create fastcgi cache dir
|
||||||
file: path=/var/cache/nginx/cached/fastcgi state=directory owner=nginx group=nginx mode=0755
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user