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 <alan.orth@gmail.com>
This commit is contained in:
Alan Orth 2014-09-14 12:19:26 +03:00
parent e6ffdf8652
commit 3d3b6c8a3f
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
1 changed files with 1 additions and 1 deletions

View File

@ -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