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
pull/12188/head
Abhijit Menon-Sen 9 years ago
parent c17c5cac0b
commit d6d523bcae

@ -347,7 +347,7 @@ class ActionBase:
if self._play_context.no_log: if self._play_context.no_log:
module_args['_ansible_no_log'] = True 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) (module_style, shebang, module_data) = self._configure_module(module_name=module_name, module_args=module_args, task_vars=task_vars)
if not shebang: if not shebang:

Loading…
Cancel
Save