From f775fa968027a1f419b7acfb6dc1cd7c5efc5aae Mon Sep 17 00:00:00 2001 From: Matthew Jones Date: Mon, 25 Jan 2016 16:51:33 -0500 Subject: [PATCH] tasks env vars should be strings This was causing rax unit test failures which are now alleviated --- awx/main/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/main/tasks.py b/awx/main/tasks.py index 5025e5b3d7..416d7aac96 100644 --- a/awx/main/tasks.py +++ b/awx/main/tasks.py @@ -1194,7 +1194,7 @@ class RunInventoryUpdate(BaseTask): elif inventory_update.source == 'rax': env['RAX_CREDS_FILE'] = cloud_credential env['RAX_REGION'] = inventory_update.source_regions or 'all' - env['RAX_CACHE_MAX_AGE'] = 0 + env['RAX_CACHE_MAX_AGE'] = "0" # Set this environment variable so the vendored package won't # complain about not being able to determine its version number. env['PBR_VERSION'] = '0.5.21'