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>
(cherry picked from commit 81540bd754)
pull/49461/head
parent
6dba96c8cc
commit
eafc7fc531
@ -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