From d6d523bcaeffc26953d205fb4dd5059a9ba95907 Mon Sep 17 00:00:00 2001 From: Abhijit Menon-Sen Date: Tue, 1 Sep 2015 23:41:38 +0530 Subject: [PATCH] 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 --- lib/ansible/plugins/action/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/plugins/action/__init__.py b/lib/ansible/plugins/action/__init__.py index 6f63231b14..37522f7b6b 100644 --- a/lib/ansible/plugins/action/__init__.py +++ b/lib/ansible/plugins/action/__init__.py @@ -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: