diff options
author | John R Barker <john@johnrbarker.com> | 2017-04-06 12:39:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-06 12:39:59 +0100 |
commit | 13dc02d49dc29842db725a725e5439978649fff1 (patch) | |
tree | da23a6e2c326c7c97394590da384ea728b6a0222 /lib/ansible/plugins/action/sros.py | |
parent | dff35bc205c176a2f9b187e9849b96d311e1e141 (diff) | |
download | ansible-13dc02d49dc29842db725a725e5439978649fff1.tar.gz |
More network_debug_troubleshooting.html (#23335)
More "unable to open shell" -> network_debug_troubleshooting.html
Diffstat (limited to 'lib/ansible/plugins/action/sros.py')
-rw-r--r-- | lib/ansible/plugins/action/sros.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/ansible/plugins/action/sros.py b/lib/ansible/plugins/action/sros.py index 49738cd0ce..c3fa842c5b 100644 --- a/lib/ansible/plugins/action/sros.py +++ b/lib/ansible/plugins/action/sros.py @@ -71,7 +71,10 @@ class ActionModule(_ActionModule): # start the connection if it isn't started rc, out, err = connection.exec_command('open_shell()') if not rc == 0: - return {'failed': True, 'msg': 'unable to open shell', 'rc': rc} + return {'failed': True, + 'msg': 'unable to open shell. Please see: ' + + 'https://docs.ansible.com/ansible/network_debug_troubleshooting.html#unable-to-open-shell', + 'rc': rc} task_vars['ansible_socket'] = socket_path |