Fixes to Nginx.

pull/63/head
Ivan Grynenko 8 years ago
parent 554623b76c
commit 286c091af1
  1. 2
      roles/ansible-role-nginx/tasks/vhosts.yml

@ -1,6 +1,6 @@
---
- name: Creates Nginx conf directories
file: path={{ nginx_vhost_path }} state=directory owner={{ root }} group={{ root }} mode=0755 recurse=yes
file: path={{ nginx_vhost_path }} state=directory mode=0755 recurse=yes
when: nginx_vhosts|length > 0
- name: Remove default nginx vhost config file (if configured).