makes raw module have quiet ssh so as to avoid extra output when not requried
This commit is contained in:
parent
5d28d46b16
commit
cf3313be0c
1 changed files with 4 additions and 1 deletions
|
@ -271,6 +271,9 @@ class Connection(object):
|
||||||
ssh_cmd += ["-tt"]
|
ssh_cmd += ["-tt"]
|
||||||
if utils.VERBOSITY > 3:
|
if utils.VERBOSITY > 3:
|
||||||
ssh_cmd += ["-vvv"]
|
ssh_cmd += ["-vvv"]
|
||||||
|
else:
|
||||||
|
if self.runner.module_name == 'raw':
|
||||||
|
ssh_cmd += ["-q"]
|
||||||
else:
|
else:
|
||||||
ssh_cmd += ["-v"]
|
ssh_cmd += ["-v"]
|
||||||
ssh_cmd += self.common_args
|
ssh_cmd += self.common_args
|
||||||
|
|
Loading…
Reference in a new issue