ansible: extra planner log messages.

This commit is contained in:
David Wilson 2018-04-17 16:16:24 +01:00
parent 0046a3de0b
commit 1fa377152d
1 changed files with 2 additions and 0 deletions

View File

@ -356,7 +356,9 @@ def _do_invoke(invocation):
for klass in _planners:
planner = klass()
if planner.detect(invocation):
LOG.debug('%r accepted %r', planner, invocation.module_name)
break
LOG.debug('%r rejected %r', planner, invocation.module_name)
else:
raise ansible.errors.AnsibleError(NO_METHOD_MSG + repr(invocation))