mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 00:03:10 +00:00
Show module name and args with -vvv
This information was earlier shown only with ANSIBLE_DEBUG, but it's extremely useful in a user context, especially with module invocations with deeply nested args like the ec2_vpc/ec2 modules. Closes #11680
This commit is contained in:
@@ -347,7 +347,7 @@ class ActionBase:
|
||||
if self._play_context.no_log:
|
||||
module_args['_ansible_no_log'] = True
|
||||
|
||||
self._display.debug("in _execute_module (%s, %s)" % (module_name, module_args))
|
||||
self._display.vvv("Module: %s, args: %s" % (module_name, module_args))
|
||||
|
||||
(module_style, shebang, module_data) = self._configure_module(module_name=module_name, module_args=module_args, task_vars=task_vars)
|
||||
if not shebang:
|
||||
|
||||
Reference in New Issue
Block a user