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:
Abhijit Menon-Sen 2015-09-01 23:41:38 +05:30
parent c17c5cac0b
commit d6d523bcae

View file

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