Work on executing launch job via celery to run ansible playbook.

This commit is contained in:
Chris Church
2013-03-22 18:55:10 -04:00
parent 43e6927a1f
commit 4e7827829f
7 changed files with 137 additions and 3 deletions

View File

@@ -157,6 +157,10 @@ if 'djcelery' in INSTALLED_APPS:
djcelery.setup_loader()
BROKER_URL = 'django://'
CELERY_TASK_SERIALIZER = 'json'
CELERY_RESULT_SERIALIZER = 'json'
CELERY_TRACK_STARTED = True
CELERYD_TASK_TIME_LIMIT = 600
CELERYD_TASK_SOFT_TIME_LIMIT = 540
CELERYBEAT_SCHEDULER = 'djcelery.schedulers.DatabaseScheduler'
CELERYBEAT_MAX_LOOP_INTERVAL = 60