From ae2467ddbcfa02a7b22a2f8bc894537c82da2fdf Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Tue, 27 Nov 2018 18:30:14 -0500 Subject: [PATCH] Merge pull request #49080 from bcoca/better_invp_skip more precise pluing skip msg and now in higher verbosity level --- changelogs/fragments/tweek_msg.yml | 2 ++ lib/ansible/inventory/manager.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 changelogs/fragments/tweek_msg.yml diff --git a/changelogs/fragments/tweek_msg.yml b/changelogs/fragments/tweek_msg.yml new file mode 100644 index 00000000000..b1fa85641cd --- /dev/null +++ b/changelogs/fragments/tweek_msg.yml @@ -0,0 +1,2 @@ +bugfixes: + - tweak inv plugin skip msg to be more precise, also require higher verbosity to view diff --git a/lib/ansible/inventory/manager.py b/lib/ansible/inventory/manager.py index a920a5468ac..1f43cea447c 100644 --- a/lib/ansible/inventory/manager.py +++ b/lib/ansible/inventory/manager.py @@ -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.