From 3d3b6c8a3f3089bcf2093430119b25c53d745772 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Sun, 14 Sep 2014 12:19:26 +0300 Subject: [PATCH] roles/php5-fpm: Fix pool creation for vhosts Now loops over both http and https vhosts properly. Fixes GitHub issue #2. Signed-off-by: Alan Orth --- roles/php5-fpm/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/php5-fpm/tasks/main.yml b/roles/php5-fpm/tasks/main.yml index c4fe787..ebbc8f7 100644 --- a/roles/php5-fpm/tasks/main.yml +++ b/roles/php5-fpm/tasks/main.yml @@ -11,7 +11,7 @@ - name: Copy php5-fpm pool config template: src=pool.conf.j2 dest=/etc/php5/fpm/pool.d/{{ item.nginx_domain_name }}.conf owner=root group=root mode=0644 - with_items: nginx_vhosts + with_items: nginx_vhosts | union(nginx_tls_vhosts) notify: restart php5-fpm tags: php5-fpm