From 4cb88fa44f7fa13003abc0c389581827a4f1434b Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Thu, 18 Jan 2018 15:17:24 +0100 Subject: [PATCH] Introduce php_version_main and make php_version always format x.y --- tasks/configure.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/configure.yml b/tasks/configure.yml index f915d92..08c663b 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -21,7 +21,7 @@ content: "export PATH=${PATH}:{{ composer_home_path }}/vendor/bin\n" - name: "Disable XDebug for CLI" - command: '{{ (php_version|default("5.5") == "7") | ternary("phpdismod", "php5dismod") }} -s cli xdebug' + command: '{{ (php_version_main|default("7") == "7") | ternary("phpdismod", "php5dismod") }} -s cli xdebug' tags: 'update' - name: "Global Config Composer" -- GitLab