From cd544f887083cba0def8e9292af2cf0ba1be2403 Mon Sep 17 00:00:00 2001
From: John Jarvis <john@jarv.org>
Date: Thu, 6 Feb 2014 17:34:39 -0500
Subject: [PATCH] adding env

---
 playbooks/roles/edxapp/tasks/service_variant_config.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/playbooks/roles/edxapp/tasks/service_variant_config.yml b/playbooks/roles/edxapp/tasks/service_variant_config.yml
index 6601da3..78a40ef 100644
--- a/playbooks/roles/edxapp/tasks/service_variant_config.yml
+++ b/playbooks/roles/edxapp/tasks/service_variant_config.yml
@@ -79,6 +79,8 @@
     {{ edxapp_venv_bin}}/python manage.py lms migrate --noinput --settings=aws_migrate
   when: fake_migrations is defined and migrate_only is defined and migrate_only|lower == "yes"
   sudo_user: "{{ edxapp_user }}"
+  environment:
+    DB_MIGRATION_NAME: "{{ EDXAPP_TEST_MIGRATE_DB_NAME }}"
   notify:
   - "restart edxapp"
   - "restart edxapp_workers"
--
libgit2 0.26.0