Commit a7058461 authored by nimrod's avatar nimrod
Browse files

- Better handling of missing parameters.

parent 022df717
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
    ping.path: /ping
    chdir: /
    chroot: '{{ php_fpm_chroot[ansible_os_family]|default(omit) }}'
    chroot: '{{ php_fpm_chroot[ansible_os_family]|default(None) }}'
+1 −1
Original line number Diff line number Diff line
[www]
{% for key, value in php_fpm_www_pool_config.iteritems() %}
{% for key, value in php_fpm_www_pool_config.iteritems() if not value == None %}
{{ key }} = {{ value }}
{% endfor %}