Skip to content
Snippets Groups Projects
Commit e5e33265 authored by Johnny Robeson's avatar Johnny Robeson
Browse files

move composer into place directly

the composer installer allows you to specify the target location right away, without
the need to move it in a separate task
parent b724b0ac
Branches
Tags
No related merge requests found
---
- name: Download and install Composer into the current directory.
- name: Download and install Composer into the target directory.
shell:
php -r "readfile('https://getcomposer.org/installer');" | php
php -r "readfile('https://getcomposer.org/installer');" |
php -- --install-dir={{ composer_path|dirname }} --filename={{ composer_path|basename }}
creates={{ composer_path }}
environment: proxy_env
- name: Move Composer into bin directory.
shell:
mv composer.phar {{ composer_path }}
creates={{ composer_path }}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment