Composer plugin cannot run working_dir dependent commands. e.g. symfony:dump-env
#3787
Closed
1 task done
symfony:dump-env
#3787
Summary
When I try to use the
symfony:dump-env
composer command I get an error that the command does not exist. This is caused byget_available_options
method callingcomposer help
without setting theworking-dir
option.This is what is executed by ansible:
This should be executed instead:
Issue Type
Bug Report
Component Name
composer
Ansible Version
Community.general Version
Configuration
OS / Environment
Target OS is SLES 15-SP3, but that should not be of concern. I installed composer using the
ansible role by geerlingguy
Steps to Reproduce
Expected Results
I expected the command to be executed properly.
Actual Results
fatal: [project]: FAILED! => {"changed": false, "msg": "[Symfony\\Component\\Console\\Exception\\CommandNotFoundException] There are no commands defined in the \"symfony\" namespace. help [--xml] [--format FORMAT] [--raw] [--] [<command_name>]"}
Code of Conduct
The text was updated successfully, but these errors were encountered: