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

Add config file info to --version output

Fixes #10348
This commit is contained in:
James Cammarata 2015-07-23 15:32:39 -04:00
parent 37ed756d66
commit 698479a623

View file

@ -333,6 +333,7 @@ class CLI(object):
gitinfo = CLI._gitinfo() gitinfo = CLI._gitinfo()
if gitinfo: if gitinfo:
result = result + " {0}".format(gitinfo) result = result + " {0}".format(gitinfo)
result += "\n config file = %s" % C.CONFIG_FILE
result = result + "\n configured module search path = %s" % C.DEFAULT_MODULE_PATH result = result + "\n configured module search path = %s" % C.DEFAULT_MODULE_PATH
return result return result