From a56c0bc27b07356c3639c0ac39805d4e5dd91171 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Wed, 13 Jan 2016 11:00:17 -0500 Subject: [PATCH] module invocation info depends on verbosity since we were removing it on display, this saves us even transmiting it back --- lib/ansible/module_utils/basic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/module_utils/basic.py b/lib/ansible/module_utils/basic.py index fb300bc42c4..b420f18e6e8 100644 --- a/lib/ansible/module_utils/basic.py +++ b/lib/ansible/module_utils/basic.py @@ -579,7 +579,7 @@ class AnsibleModule(object): self._set_defaults(pre=False) - if not self.no_log: + if not self.no_log and self._verbosity >= 3: self._log_invocation() # finally, make sure we're in a sane working dir