mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 00:03:10 +00:00
Merge pull request #49080 from bcoca/better_invp_skip
more precise pluing skip msg and now in higher verbosity level
This commit is contained in:
committed by
Toshio Kuratomi
parent
07895538b5
commit
ae2467ddbc
2
changelogs/fragments/tweek_msg.yml
Normal file
2
changelogs/fragments/tweek_msg.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- tweak inv plugin skip msg to be more precise, also require higher verbosity to view
|
||||
@@ -275,7 +275,7 @@ class InventoryManager(object):
|
||||
display.debug('%s failed to parse %s' % (plugin_name, source))
|
||||
failures.append({'src': source, 'plugin': plugin_name, 'exc': AnsibleError(e)})
|
||||
else:
|
||||
display.v('%s did not meet %s requirements, check plugin documentation if this is unexpected' % (source, plugin_name))
|
||||
display.vvv("%s declined parsing %s as it did not pass it's verify_file() method" % (plugin_name, source))
|
||||
else:
|
||||
if not parsed and failures:
|
||||
# only if no plugin processed files should we show errors.
|
||||
|
||||
Reference in New Issue
Block a user