mirror of
https://github.com/ansible/awx.git
synced 2026-01-18 05:01:19 -03:30
Fixes verify_ssl option when False in ansible_tower module util (#30308)
* Fixes verify_ssl option when False in ansible_tower module util * fixed comparison to None per PEP-8 standards
This commit is contained in:
parent
d0ffc3f626
commit
f46db65bad
@ -62,7 +62,7 @@ def tower_auth_config(module):
|
||||
if password:
|
||||
auth_config['password'] = password
|
||||
verify_ssl = module.params.get('tower_verify_ssl')
|
||||
if verify_ssl:
|
||||
if verify_ssl is not None:
|
||||
auth_config['verify_ssl'] = verify_ssl
|
||||
return auth_config
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user