From 4821dc66ad4ffa50e170be0d8781162e3489cbdf Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Fri, 20 May 2016 09:25:20 -0400 Subject: [PATCH] now we show path from which we load module on vvv also added remote module location on debug --- lib/ansible/plugins/action/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ansible/plugins/action/__init__.py b/lib/ansible/plugins/action/__init__.py index bff7f84de72..f35d586eb99 100644 --- a/lib/ansible/plugins/action/__init__.py +++ b/lib/ansible/plugins/action/__init__.py @@ -581,6 +581,7 @@ class ActionBase(with_metaclass(ABCMeta, object)): module_args['_ansible_selinux_special_fs'] = C.DEFAULT_SELINUX_SPECIAL_FS (module_style, shebang, module_data, module_path) = self._configure_module(module_name=module_name, module_args=module_args, task_vars=task_vars) + display.vvv("Using module file %s" % module_path) if not shebang and module_style != 'binary': raise AnsibleError("module (%s) is missing interpreter line" % module_name) @@ -598,7 +599,7 @@ class ActionBase(with_metaclass(ABCMeta, object)): args_file_path = self._connection._shell.join_path(tmp, 'args') if remote_module_path or module_style != 'new': - display.debug("transferring module to remote") + display.debug("transferring module to remote %s" % remote_module_path) if module_style == 'binary': self._transfer_file(module_path, remote_module_path) else: