mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
makes raw module have quiet ssh so as to avoid extra output when not requried
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user