Commit 4a74fac4 authored by nimrod's avatar nimrod
Browse files

- Correct handling of missing parameters for the www pool.

parent ce52cbb6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -20,4 +20,4 @@ php_fpm_www_pool_config:
    pm.status_path: /status.php
    ping.path: /ping.php
    chdir: /
    chroot: '{{ php_fpm_chroot[ansible_os_family]|default(None) }}'
    chroot: '{{ php_fpm_chroot[ansible_os_family]|default("") }}'
+1 −1
Original line number Diff line number Diff line
[www]
{% for key, value in php_fpm_www_pool_config.iteritems() if not value == None %}
{% for key, value in php_fpm_www_pool_config.iteritems() if not value == '' %}
{{ key }} = {{ value }}
{% endfor %}