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
|
@ -16,6 +16,7 @@ New modules:
|
||||||
|
|
||||||
Misc changes:
|
Misc changes:
|
||||||
|
|
||||||
|
* Added a -vvvv level, which will show SSH client debugging information in the event of a failure.
|
||||||
* Includes now support the more standard syntax, similar to that of role includes and dependencies. It is no longer necessary to specify a special "vas" field for the variables passed to the include.
|
* Includes now support the more standard syntax, similar to that of role includes and dependencies. It is no longer necessary to specify a special "vas" field for the variables passed to the include.
|
||||||
* Changed the `user:` parameter on plays to `remote_user:` to prevent confusion with the module of the same name. Still backwards compatible on play parameters.
|
* Changed the `user:` parameter on plays to `remote_user:` to prevent confusion with the module of the same name. Still backwards compatible on play parameters.
|
||||||
* Added parameter to allow the fetch module to skip the md5 validation step ('validate_md5=false'). This is usefull when fetching files that are actively being written to, such as live log files.
|
* Added parameter to allow the fetch module to skip the md5 validation step ('validate_md5=false'). This is usefull when fetching files that are actively being written to, such as live log files.
|
||||||
|
|
|
@ -776,7 +776,7 @@ class Runner(object):
|
||||||
if result['rc'] != 0:
|
if result['rc'] != 0:
|
||||||
if result['rc'] == 5:
|
if result['rc'] == 5:
|
||||||
output = 'Authentication failure.'
|
output = 'Authentication failure.'
|
||||||
elif result['rc'] == 255:
|
elif result['rc'] == 255 and self.transport == 'ssh':
|
||||||
if utils.VERBOSITY > 3:
|
if utils.VERBOSITY > 3:
|
||||||
output = 'SSH encountered an unknown error. The output was:\n%s' % (result['stdout']+result['stderr'])
|
output = 'SSH encountered an unknown error. The output was:\n%s' % (result['stdout']+result['stderr'])
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue