From c8eb47eefa8932e4861cdb9d5e1495063e4ed570 Mon Sep 17 00:00:00 2001 From: Michael Warkentin Date: Wed, 21 May 2014 14:00:12 -0400 Subject: [PATCH] Update `command` description The docs were a little bit out of date with what commands are available to be run. They also didn't explain that you could pass custom commands - I almost went down the path of trying to run our custom management commands with the generic Ansible `command` module. --- library/web_infrastructure/django_manage | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/web_infrastructure/django_manage b/library/web_infrastructure/django_manage index 42ce3781fda..246b9d9e3dc 100644 --- a/library/web_infrastructure/django_manage +++ b/library/web_infrastructure/django_manage @@ -28,9 +28,9 @@ description: version_added: "1.1" options: command: - choices: [ 'cleanup', 'flush', 'loaddata', 'runfcgi', 'syncdb', 'test', 'validate', 'migrate', 'collectstatic' ] + choices: [ 'cleanup', 'collectstatic', 'flush', 'loaddata', 'migrate', 'runfcgi', 'syncdb', 'test', 'validate', ] description: - - The name of the Django management command to run. Allowed commands are cleanup, createcachetable, flush, loaddata, syncdb, test, validate. + - The name of the Django management command to run. Built in commands are cleanup, collectstatic, flush, loaddata, migrate, runfcgi, syncdb, test, and validate. Other commands can be entered, but will fail if they're unknown to Django. required: true app_path: description: