mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-02 06:19:10 -07:00
makes raw module have quiet ssh so as to avoid extra output when not requried
This commit is contained in:
parent
131683523b
commit
19ba26e9a5
1 changed files with 4 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue