Commit cf3313be by Brian Coca

makes raw module have quiet ssh so as to avoid extra output when not requried

parent 5d28d46b
...@@ -272,7 +272,10 @@ class Connection(object): ...@@ -272,7 +272,10 @@ class Connection(object):
if utils.VERBOSITY > 3: if utils.VERBOSITY > 3:
ssh_cmd += ["-vvv"] ssh_cmd += ["-vvv"]
else: else:
ssh_cmd += ["-v"] if self.runner.module_name == 'raw':
ssh_cmd += ["-q"]
else:
ssh_cmd += ["-v"]
ssh_cmd += self.common_args ssh_cmd += self.common_args
if self.ipv6: if self.ipv6:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment