diff --git a/roles/msl_api/tasks/application.yml b/roles/msl_api/tasks/application.yml index d7e1754..2d13cd9 100644 --- a/roles/msl_api/tasks/application.yml +++ b/roles/msl_api/tasks/application.yml @@ -52,7 +52,7 @@ - name: Install MSL API dependencies become: true become_user: '{{ msl_api_user }}' - ansible.builtin.command: /usr/bin/php8.0 /usr/bin/composer2 install + ansible.builtin.command: /usr/bin/php8.0 /usr/local/bin/composer2 install args: chdir: /var/www/msl_api creates: /var/www/msl_api/vendor/composer