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

@ -272,7 +272,10 @@ class Connection(object):
if utils.VERBOSITY > 3:
ssh_cmd += ["-vvv"]
else:
ssh_cmd += ["-v"]
if self.runner.module_name == 'raw':
ssh_cmd += ["-q"]
else:
ssh_cmd += ["-v"]
ssh_cmd += self.common_args
if self.ipv6: