From f6a03f8812e39f64b0dc08c004057453e18a7e91 Mon Sep 17 00:00:00 2001 From: Ivan Grynenko Date: Sun, 12 Jun 2016 13:53:40 +1000 Subject: [PATCH] Added vmuser user and updated vars for nginx vhost directory. --- tasks/vhosts.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/vhosts.yml b/tasks/vhosts.yml index 560b455..6af3173 100755 --- a/tasks/vhosts.yml +++ b/tasks/vhosts.yml @@ -17,7 +17,7 @@ - reload nginx - name: Creates Nginx vhost directory - file: path=/var/www/html/{{ server_hostname }} state=directory owner={{ nginx_user }} group={{ nginx_user }} mode=0775 recurse=yes + file: path=/var/www/html/{{ server_hostname }} state=directory owner={{ php_fpm_pool_user }} group={{ php_fpm_pool_group }} mode=0755 recurse=yes when: nginx_vhosts|length > 0 notify: - reload nginx