mirror of
https://github.com/ansible/awx.git
synced 2026-02-21 21:20:08 -03:30
Added basic celery support and configuration.
This commit is contained in:
7
lib/main/tasks.py
Normal file
7
lib/main/tasks.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from celery import task
|
||||
from lib.main.models import *
|
||||
|
||||
@task(name='run_launch_job')
|
||||
def run_launch_job(launch_job_pk):
|
||||
launch_job = LaunchJob.objects.get(pk=launch_job_pk)
|
||||
# FIXME: Do stuff here!
|
||||
Reference in New Issue
Block a user