From 286c091af1bf8fe0b8698c0d81545fe4b1f1c69c Mon Sep 17 00:00:00 2001 From: Ivan Grynenko Date: Wed, 6 Jul 2016 16:52:38 +1000 Subject: [PATCH] Fixes to Nginx. --- roles/ansible-role-nginx/tasks/vhosts.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ansible-role-nginx/tasks/vhosts.yml b/roles/ansible-role-nginx/tasks/vhosts.yml index 73a8c41..8e7ff76 100755 --- a/roles/ansible-role-nginx/tasks/vhosts.yml +++ b/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).