Commit 7e7f06d2 authored by Reto Gantenbein's avatar Reto Gantenbein

Make sure the available composer is run

parent 05f65c5e
......@@ -113,11 +113,21 @@
when: (roundcube__composer_phar_url is string) and
(roundcube__composer_phar_url | length > 7)
- name: Install missing PHP packages via composer
- name: Install missing PHP packages via composer.phar
command: php composer.phar install
args:
chdir: '{{ roundcube__git_checkout }}'
become_user: '{{ roundcube__user }}'
when: (roundcube__composer_phar_url is string) and
(roundcube__composer_phar_url | length > 7)
- name: Install missing PHP packages via system-wide composer
composer:
command: install
working_dir: '{{ roundcube__git_checkout }}'
become_user: '{{ roundcube__user }}'
when: not ((roundcube__composer_phar_url is string) and
(roundcube__composer_phar_url | length > 7))
- name: Install Javascript packages
command: bin/install-jsdeps.sh
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment