1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Add module search path to --version output.

This commit is contained in:
Michael DeHaan 2014-09-28 11:39:04 -04:00
parent 91c5890247
commit 1d17881960

View file

@ -899,6 +899,7 @@ def version(prog):
gitinfo = _gitinfo() gitinfo = _gitinfo()
if gitinfo: if gitinfo:
result = result + " {0}".format(gitinfo) result = result + " {0}".format(gitinfo)
result = result + "\n configured module search path = %s" % C.DEFAULT_MODULE_PATH
return result return result
def version_info(gitinfo=False): def version_info(gitinfo=False):