mirror of https://github.com/ansible/ansible.git
require git when trying to use it in ansible-galaxy cli (#49212)
* require git when trying to use it in ansible-galaxy cli Previously we weren't setting `required=True` when calling `get_bin_path` and the path would return `None`, this would cause a traceback when attempting to ' '.join() to create a string representation of the failed command for error output Fixes #49200 Signed-off-by: Adam Miller <admiller@redhat.com> * add changelog Signed-off-by: Adam Miller <admiller@redhat.com>pull/49150/head
parent
7a81d859c5
commit
81540bd754
@ -0,0 +1,2 @@
|
||||
minor_changes:
|
||||
- "ansible-galaxy: properly warn when git isn't found in an installed bin path instead of traceback"
|
Loading…
Reference in New Issue