Add verbose log for network action handler information

pull/72506/head
Ganesh B Nalawade 4 years ago committed by Matt Clay
parent b33d7e2e29
commit 5fb6280672

@ -990,6 +990,9 @@ class TaskExecutor:
handler_name = self._task.action
elif all((module_prefix in C.NETWORK_GROUP_MODULES, self._shared_loader_obj.action_loader.has_plugin(network_action, collection_list=collections))):
handler_name = network_action
display.vvvv("Using network group action {handler} for {action}".format(handler=handler_name,
action=self._task.action),
host=self._play_context.remote_addr)
else:
# use ansible.legacy.normal to allow (historic) local action_plugins/ override without collections search
handler_name = 'ansible.legacy.normal'

Loading…
Cancel
Save