1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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:
ethackal 2017-09-14 10:03:33 +00:00 committed by René Moser
parent 3ff527b1d2
commit 4980ebf064

View file

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