ansible: extra planner log messages.
This commit is contained in:
parent
0046a3de0b
commit
1fa377152d
|
@ -356,7 +356,9 @@ def _do_invoke(invocation):
|
||||||
for klass in _planners:
|
for klass in _planners:
|
||||||
planner = klass()
|
planner = klass()
|
||||||
if planner.detect(invocation):
|
if planner.detect(invocation):
|
||||||
|
LOG.debug('%r accepted %r', planner, invocation.module_name)
|
||||||
break
|
break
|
||||||
|
LOG.debug('%r rejected %r', planner, invocation.module_name)
|
||||||
else:
|
else:
|
||||||
raise ansible.errors.AnsibleError(NO_METHOD_MSG + repr(invocation))
|
raise ansible.errors.AnsibleError(NO_METHOD_MSG + repr(invocation))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue