mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02: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:
parent
07895538b5
commit
ae2467ddbc
2 changed files with 3 additions and 1 deletions
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.
|
||||
|
|
Loading…
Reference in a new issue