Skip to content

Commit

Permalink
Enforce Composer 1.x version
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmontalvo3 committed Dec 18, 2020
1 parent 4a3beb6 commit 9630b30
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/roles/composer/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@
creates={{ composer_path }}
when: not composer_bin.stat.exists

- name: Update Composer to latest version (if configured).
# Enforce composer 1.x per #1272. Per #1273 we should make Meza support Composer 2.x.
- name: Set Composer to version 1.10.19
shell: >
{{ php_executable }} {{ composer_path }} self-update
{{ php_executable }} {{ composer_path }} self-update 1.10.19
register: composer_update
changed_when: "'Updating to version' in composer_update.stdout"
when: composer_keep_updated
Expand Down

0 comments on commit 9630b30

Please sign in to comment.