Add verbose log for network action handler information

This commit is contained in:
Ganesh B Nalawade 2020-10-30 12:27:37 +05:30 committed by Matt Clay
parent b33d7e2e29
commit 5fb6280672

View file

@ -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'