From d182280ff7e14b87e78ef0d364c186304308db6a Mon Sep 17 00:00:00 2001 From: James Laska Date: Fri, 17 Jun 2016 20:53:46 -0400 Subject: [PATCH] Correctly set verify_ssl to a boolean value --- awx/plugins/inventory/rax.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/plugins/inventory/rax.py b/awx/plugins/inventory/rax.py index e3dcfa8a59..f29e0e8ba0 100755 --- a/awx/plugins/inventory/rax.py +++ b/awx/plugins/inventory/rax.py @@ -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: