Skip to content
Snippets Groups Projects
Commit 4cb88fa4 authored by jurgenhaas's avatar jurgenhaas
Browse files

Introduce php_version_main and make php_version always format x.y

parent 186ba4d3
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment