Add verbose log for network action handler information
This commit is contained in:
parent
b33d7e2e29
commit
5fb6280672
1 changed files with 3 additions and 0 deletions
|
@ -990,6 +990,9 @@ class TaskExecutor:
|
||||||
handler_name = self._task.action
|
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))):
|
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
|
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:
|
else:
|
||||||
# use ansible.legacy.normal to allow (historic) local action_plugins/ override without collections search
|
# use ansible.legacy.normal to allow (historic) local action_plugins/ override without collections search
|
||||||
handler_name = 'ansible.legacy.normal'
|
handler_name = 'ansible.legacy.normal'
|
||||||
|
|
Loading…
Reference in a new issue