module invocation info depends on verbosity

since we were removing it on display, this saves us even transmiting it back
This commit is contained in:
Brian Coca 2016-01-13 11:00:17 -05:00
parent 58f387a6dd
commit a56c0bc27b

View file

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