|
|
|
@ -268,7 +268,7 @@ class InventoryManager(object):
|
|
|
|
if not parsed and failures:
|
|
|
|
if not parsed and failures:
|
|
|
|
# only if no plugin processed files should we show errors.
|
|
|
|
# only if no plugin processed files should we show errors.
|
|
|
|
if C.INVENTORY_UNPARSED_IS_FAILED:
|
|
|
|
if C.INVENTORY_UNPARSED_IS_FAILED:
|
|
|
|
msg = "Could not parse inventory source %s with availabel plugins:\n" % source
|
|
|
|
msg = "Could not parse inventory source %s with available plugins:\n" % source
|
|
|
|
for fail in failures:
|
|
|
|
for fail in failures:
|
|
|
|
msg += 'Plugin %s failed: %s\n' % (fail['plugin'], to_native(fail['exc']))
|
|
|
|
msg += 'Plugin %s failed: %s\n' % (fail['plugin'], to_native(fail['exc']))
|
|
|
|
if display.verbosity >= 3:
|
|
|
|
if display.verbosity >= 3:
|
|
|
|
|