Commit 05f65c5e authored by Reto Gantenbein's avatar Reto Gantenbein

Fix condition on when to use the composer.phar URL

parent 5ad3a6e3
......@@ -110,7 +110,8 @@
dest: '{{ roundcube__git_checkout }}'
mode: '0640'
become_user: '{{ roundcube__user }}'
when: roundcube__composer_phar_url
when: (roundcube__composer_phar_url is string) and
(roundcube__composer_phar_url | length > 7)
- name: Install missing PHP packages via composer
composer:
......
......@@ -33,7 +33,10 @@
with_flattened:
- '{{ roundcube__base_packages }}'
- '{{ roundcube__packages }}'
- '{{ roundcube__composer_packages if not roundcube__composer_phar_url else [] }}'
- '{{ roundcube__composer_packages
if (not roundcube__composer_phar_url is string) and
(roundcube__composer_phar_url | length > 7))
else [] }}'
- include: deploy_roundcube.yml
......
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