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

improved the message when there is no module path override

This commit is contained in:
Brian Coca 2015-11-05 14:26:23 -05:00
parent aa034f4fcf
commit 95604573ee

View file

@ -346,7 +346,11 @@ class CLI(object):
if gitinfo: if gitinfo:
result = result + " {0}".format(gitinfo) result = result + " {0}".format(gitinfo)
result += "\n config file = %s" % C.CONFIG_FILE result += "\n config file = %s" % C.CONFIG_FILE
result = result + "\n configured module search path = %s" % C.DEFAULT_MODULE_PATH if C.DEFAULT_MODULE_PATH is None:
cpath = "Default w/o overrides"
else:
cpath = C.DEFAULT_MODULE_PATH
result = result + "\n configured module search path = %s" % cpath
return result return result
@staticmethod @staticmethod