log on target based on nolog, not verbosity
fies #18569
(cherry picked from commit b1cefcf176
)
This commit is contained in:
parent
1bdf25561a
commit
e1b459470d
1 changed files with 1 additions and 1 deletions
|
@ -715,7 +715,7 @@ class AnsibleModule(object):
|
|||
|
||||
self._set_defaults(pre=False)
|
||||
|
||||
if not self.no_log and self._verbosity >= 3:
|
||||
if not self.no_log:
|
||||
self._log_invocation()
|
||||
|
||||
# finally, make sure we're in a sane working dir
|
||||
|
|
Loading…
Reference in a new issue