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
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

@ -434,7 +434,7 @@ class F5BaseClient(object):
elif os.environ.get('ANSIBLE_NET_USERNAME', None):
result['user'] = os.environ.get('ANSIBLE_NET_USERNAME', None)
else:
result['user'] = True
result['user'] = None
if provider.get('password', None):
result['password'] = provider.get('password', None)
@ -445,7 +445,7 @@ class F5BaseClient(object):
elif os.environ.get('ANSIBLE_NET_PASSWORD', None):
result['password'] = os.environ.get('ANSIBLE_NET_PASSWORD', None)
else:
result['password'] = True
result['password'] = None
if result['validate_certs'] in BOOLEANS_TRUE:
result['validate_certs'] = True