mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 12:20:45 -03:30
Correctly set verify_ssl to a boolean value
This commit is contained in:
parent
de9b44e041
commit
d182280ff7
@ -387,7 +387,7 @@ def setup():
|
||||
|
||||
# pyrax does not honor the environment variable CLOUD_VERIFY_SSL=False, so let's help pyrax
|
||||
if 'CLOUD_VERIFY_SSL' in os.environ:
|
||||
pyrax.set_setting('verify_ssl', os.environ['CLOUD_VERIFY_SSL'])
|
||||
pyrax.set_setting('verify_ssl', os.environ['CLOUD_VERIFY_SSL'] in [1, 'true', 'True'])
|
||||
|
||||
env = get_config(p, 'rax', 'environment', 'RAX_ENV', None)
|
||||
if env:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user