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:
parent
91c5890247
commit
1d17881960
1 changed files with 1 additions and 0 deletions
|
@ -899,6 +899,7 @@ def version(prog):
|
|||
gitinfo = _gitinfo()
|
||||
if gitinfo:
|
||||
result = result + " {0}".format(gitinfo)
|
||||
result = result + "\n configured module search path = %s" % C.DEFAULT_MODULE_PATH
|
||||
return result
|
||||
|
||||
def version_info(gitinfo=False):
|
||||
|
|
Loading…
Reference in a new issue