mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
Minor change to -vvvv mode to only show debugging info for ssh conns
Also added this feature to the CHANGELOG
This commit is contained in:
parent
d5b96abd80
commit
69cfcf7ed0
2 changed files with 2 additions and 1 deletions
|
@ -776,7 +776,7 @@ class Runner(object):
|
|||
if result['rc'] != 0:
|
||||
if result['rc'] == 5:
|
||||
output = 'Authentication failure.'
|
||||
elif result['rc'] == 255:
|
||||
elif result['rc'] == 255 and self.transport == 'ssh':
|
||||
if utils.VERBOSITY > 3:
|
||||
output = 'SSH encountered an unknown error. The output was:\n%s' % (result['stdout']+result['stderr'])
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue