Support for scheduling celery tasks. The worker is independent of salt and thus can run in a different virtualenv or on a different python version, as long as broker, backend and serializer configurations match. Also note that celery and packages required by the celery broker, e.g. redis must be installed to load the salt celery execution module.
A new app (and thus new connections) is created for each task execution
run_task(task_name, args=None, kwargs=None, broker=None, backend=None, wait_for_result=False, timeout=None, propagate=True, interval=0.5, no_ack=True, raise_timeout=True, config=None)¶
Execute celery tasks. For celery specific parameters see celery documentation.
salt '*' celery.run_task tasks.sleep args= broker=redis://localhost \ backend=redis://localhost wait_for_result=true