summaryrefslogtreecommitdiff
path: root/web_infrastructure
diff options
context:
space:
mode:
authorSteven Davidson <github@damycra.com>2013-11-22 19:35:19 +0000
committerSteven Davidson <github@damycra.com>2013-11-22 19:35:19 +0000
commit774f27e3363a2d7be2973c6e6d0bdda12536b23d (patch)
tree9a6bfa9fdc653b779edc3e43e74311a5a20f9d9c /web_infrastructure
parente315d391caae57f802400b917ade6ae02673e194 (diff)
downloadansible-modules-extras-774f27e3363a2d7be2973c6e6d0bdda12536b23d.tar.gz
Reports changed status from django_manage migrate
Diffstat (limited to 'web_infrastructure')
-rw-r--r--web_infrastructure/django_manage3
1 files changed, 3 insertions, 0 deletions
diff --git a/web_infrastructure/django_manage b/web_infrastructure/django_manage
index fd610fb9..d707ece8 100644
--- a/web_infrastructure/django_manage
+++ b/web_infrastructure/django_manage
@@ -155,6 +155,9 @@ def loaddata_filter_output(line):
def syncdb_filter_output(line):
return ("Creating table " in line) or ("Installed" in line and "Installed 0 object" not in line)
+def migrate_filter_output(line):
+ return ("Migrating forwards " in line) or ("Installed" in line and "Installed 0 object" not in line)
+
def main():
command_allowed_param_map = dict(
cleanup=(),