Adds various fixes for f5 modules (#40208)

* Adds stty expansion for cli commands
* minor fixes
* Make bigiq rest client work correctly
This commit is contained in:
Tim Rupp 2018-05-16 12:14:12 -07:00 committed by GitHub
parent 548282139f
commit 5e7878a6a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 13 additions and 7 deletions

View file

@ -73,9 +73,11 @@ class ActionModule(_ActionModule):
socket_path = connection.run()
display.vvvv('socket_path: %s' % socket_path, pc.remote_addr)
if not socket_path:
return {'failed': True,
'msg': 'Unable to open shell. Please see: ' +
'https://docs.ansible.com/ansible/network_debug_troubleshooting.html#unable-to-open-shell'}
return {
'failed': True,
'msg': 'Unable to open shell. Please see: '
'https://docs.ansible.com/ansible/network_debug_troubleshooting.html#unable-to-open-shell'
}
task_vars['ansible_socket'] = socket_path
else: