ansible-galaxy collection install requires a mandatory -p option #60216
Labels
affects_2.9
This issue/PR affects Ansible v2.9
feature
This issue/PR relates to a feature request.
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
SUMMARY
-p or --collections-path should not be mandatory and should pick up value of COLLECTIONS_PATH variable.
As a user of collection if I don't know which path ansible is using to load collection I will tend to make mistakes installing the collection to right path.
COLLECTIONS_PATH will make sure the collection will get picked up for sure.
ISSUE TYPE
COMPONENT NAME
COLLECTIONS
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
Try installing a collection without giving -p option
EXPECTED RESULTS
if -p provided use provided path, if not provided use COLLECTIONS_PATHS variable
ACTUAL RESULTS
-p is mandatory right now
The text was updated successfully, but these errors were encountered: