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

This commit is contained in:
Brian Coca 2015-03-24 14:48:50 -04:00
parent 5d28d46b16
commit cf3313be0c

View file

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