# {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }} # # Name of nodes to start CELERYD_NODES="worker1 worker2" CELERY_BIN="{{ app_dir }}/.venv/bin/celery" CELERY_APP="newsreader" # The scheduler to be used. # See https://docs.celeryproject.org/en/stable/userguide/configuration.html#beat-scheduler CELERY_SCHEDULER="django_celery_beat.schedulers:DatabaseScheduler" # How to call manage.py CELERYD_MULTI="multi" # Extra command-line arguments to the worker CELERYD_OPTS="--time-limit=300 --concurrency=8" # - %I will be replaced with the current child process index # and is important when using the prefork pool to avoid race conditions. CELERYD_PID_FILE="/run/celery/%n.pid" CELERYD_LOG_LEVEL="INFO" CELERYD_LOG_FILE="/dev/null" # you may wish to add these options for Celery Beat CELERYBEAT_PID_FILE="/run/celery/beat.pid" DJANGO_SETTINGS_MODULE="newsreader.conf.production"