mirror of
https://github.com/ansible/awx.git
synced 2026-03-05 02:31:03 -03:30
Fix an issue running jobs in the cluster
The old VENV_PATH settings were still in place
This commit is contained in:
@@ -342,6 +342,7 @@ CELERY_RESULT_BACKEND = 'djcelery.backends.database:DatabaseBackend'
|
|||||||
CELERY_QUEUES = (
|
CELERY_QUEUES = (
|
||||||
Queue('default', Exchange('default'), routing_key='default'),
|
Queue('default', Exchange('default'), routing_key='default'),
|
||||||
Queue('jobs', Exchange('jobs'), routing_key='jobs'),
|
Queue('jobs', Exchange('jobs'), routing_key='jobs'),
|
||||||
|
# Projects use a fanout queue, this isn't super well supported
|
||||||
Broadcast('projects'),
|
Broadcast('projects'),
|
||||||
)
|
)
|
||||||
CELERY_ROUTES = ({'awx.main.tasks.run_job': {'queue': 'jobs',
|
CELERY_ROUTES = ({'awx.main.tasks.run_job': {'queue': 'jobs',
|
||||||
|
|||||||
@@ -71,9 +71,9 @@ include(optional('/etc/tower/settings.py'), scope=locals())
|
|||||||
include(optional('/etc/tower/conf.d/*.py'), scope=locals())
|
include(optional('/etc/tower/conf.d/*.py'), scope=locals())
|
||||||
|
|
||||||
ANSIBLE_USE_VENV = True
|
ANSIBLE_USE_VENV = True
|
||||||
ANSIBLE_VENV_PATH = "/tower_devel/venv/ansible"
|
ANSIBLE_VENV_PATH = "/venv/ansible"
|
||||||
TOWER_USE_VENV = True
|
TOWER_USE_VENV = True
|
||||||
TOWER_VENV_PATH = "/tower_devel/venv/tower"
|
TOWER_VENV_PATH = "/venv/tower"
|
||||||
|
|
||||||
# If any local_*.py files are present in awx/settings/, use them to override
|
# If any local_*.py files are present in awx/settings/, use them to override
|
||||||
# default settings for development. If not present, we can still run using
|
# default settings for development. If not present, we can still run using
|
||||||
|
|||||||
Reference in New Issue
Block a user