mirror of
https://github.com/ansible/awx.git
synced 2026-04-06 10:39:20 -02: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:
@@ -62,7 +62,7 @@ def tower_auth_config(module):
|
|||||||
if password:
|
if password:
|
||||||
auth_config['password'] = password
|
auth_config['password'] = password
|
||||||
verify_ssl = module.params.get('tower_verify_ssl')
|
verify_ssl = module.params.get('tower_verify_ssl')
|
||||||
if verify_ssl:
|
if verify_ssl is not None:
|
||||||
auth_config['verify_ssl'] = verify_ssl
|
auth_config['verify_ssl'] = verify_ssl
|
||||||
return auth_config
|
return auth_config
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user