Skip to content
Snippets Groups Projects
Commit 8da7e5f4 authored by jurgenhaas's avatar jurgenhaas
Browse files

#52 Add global package hirak/prestissimo and disable xdebug for cli

parent 22003e43
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,8 @@ composer_home_path: /opt/composer
composer_home_owner: root
composer_home_group: root
composer_global_packages: {}
composer_global_packages_base:
hirak/prestissimo: '^0.3'
# Visit https://github.com/settings/applications
# and generate personal access token
......
......@@ -16,5 +16,10 @@
shell: COMPOSER_HOME={{ composer_home_path }}
composer global require {{ item.key }}:{{ item.value }} --no-progress
creates={{ composer_home_path }}/vendor/{{ item.key }}
with_dict: '{{ composer_global_packages }}'
when: composer_global_packages|length > 0
with_dict: '{{ composer_global_packages|combine(composer_global_packages_base) }}'
when: composer_global_packages|combine(composer_global_packages_base)|length > 0
tags: 'update'
- name: Disable XDebug for CLI
command: '{{ (php_version|default("5.5") == "7") | ternary("phpdismod", "php5dismod") }} -s cli xdebug'
tags: 'update'
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