mirror of
https://github.com/ansible/awx.git
synced 2026-02-21 05:00:07 -03:30
Correctly set verify_ssl to a boolean value
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user