Skip to content
Snippets Groups Projects
Commit 053080b8 authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-playbooks/general#85 Properly compare integer default values

parent 0abf78b9
No related branches found
No related tags found
No related merge requests found
......@@ -168,7 +168,7 @@ comment = the php interpreter and libraries
{% if php_version|default('5.5') == '5.3' %}
executables = /usr/local/bin/php
directories = /usr/lib/php5, /usr/share/php, /usr/share/php5, /etc/php5, /usr/share/zoneinfo, /usr/local/lib/php/extensions
{% elif php_version_main|default('7') == '7' %}
{% elif php_version_main|default(7) == 7 %}
executables = /usr/bin/php*
directories = /usr/lib/php, /usr/share/php, /usr/share/php{{php_version|default("7.0")}}-*, /etc/php, /usr/share/zoneinfo, /usr/lib/x86_64-linux-gnu/libxml*
{% else %}
......
......@@ -1970,7 +1970,7 @@ ldap.max_links = -1
[Syslog]
define_syslog_variables = Off
{% if php_version_main|default('7') == '7' %}
{% if php_version_main|default(7) == 7 %}
[oauth]
extension=oauth.so
{% endif %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment