Skip to content
Snippets Groups Projects
Commit 4a74fac4 authored by nimrod's avatar nimrod
Browse files

- Correct handling of missing parameters for the www pool.

parent ce52cbb6
No related branches found
No related tags found
No related merge requests found
......@@ -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("") }}'
[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 %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment